| 1 | #cxx . . $ `<file>/src/pt2_sampler.h`/pragma once |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | #include <stdbool.h> |
| 5 | #include "pt2_structs.h"cxx . . $ `<file>/src/pt2_structs.h`/ |
| 6 | |
| 7 | typedef struct sampler_tcxx . . $ sampler_t# |
| 8 | { |
| 9 | const int8_tcxx . . $ int8_t# *samStartcxx . . $ sampler_t#samStart.; |
| 10 | int8_tcxx . . $ int8_t# *blankSamplecxx . . $ sampler_t#blankSample., *copyBufcxx . . $ sampler_t#copyBuf., *sampleUndoCopycxx . . $ sampler_t#sampleUndoCopy.; |
| 11 | int16_tcxx . . $ int16_t# loopStartPoscxx . . $ sampler_t#loopStartPos., loopEndPoscxx . . $ sampler_t#loopEndPos.; |
| 12 | uint16_tcxx . . $ uint16_t# dragStartcxx . . $ sampler_t#dragStart., dragEndcxx . . $ sampler_t#dragEnd.; |
| 13 | int32_tcxx . . $ int32_t# samPointWidthcxx . . $ sampler_t#samPointWidth., samOffsetcxx . . $ sampler_t#samOffset., samDisplaycxx . . $ sampler_t#samDisplay., samLengthcxx . . $ sampler_t#samLength., saveMouseXcxx . . $ sampler_t#saveMouseX., lastSamPoscxx . . $ sampler_t#lastSamPos.; |
| 14 | int32_tcxx . . $ int32_t# lastMouseXcxx . . $ sampler_t#lastMouseX., lastMouseYcxx . . $ sampler_t#lastMouseY., tmpLoopStartcxx . . $ sampler_t#tmpLoopStart., tmpLoopLengthcxx . . $ sampler_t#tmpLoopLength., copyBufSizecxx . . $ sampler_t#copyBufSize.; |
| 15 | } sampler_tcxx . . $ sampler_t#; |
| 16 | |
| 17 | extern sampler_tcxx . . $ sampler_t# samplercxx . . $ sampler.; // pt2_sampler.c |
| 18 | |
| 19 | void sampleLinecxx . . $ sampleLine(748afa4755bc9595).(int32_tcxx . . $ int32_t# line_x1, int32_tcxx . . $ int32_t# line_x2, int32_tcxx . . $ int32_t# line_y1, int32_tcxx . . $ int32_t# line_y2); |
| 20 | |
| 21 | void killSamplecxx . . $ killSample(49f6e7a06ebc5aa8).(void); |
| 22 | void downSamplecxx . . $ downSample(49f6e7a06ebc5aa8).(void); |
| 23 | void upSamplecxx . . $ upSample(49f6e7a06ebc5aa8).(void); |
| 24 | void createSampleMarkTablecxx . . $ createSampleMarkTable(49f6e7a06ebc5aa8).(void); |
| 25 | int32_tcxx . . $ int32_t# smpPos2Scrcxx . . $ smpPos2Scr(7864480464b09eea).(int32_tcxx . . $ int32_t# pos); |
| 26 | int32_tcxx . . $ int32_t# scr2SmpPoscxx . . $ scr2SmpPos(7864480464b09eea).(int32_tcxx . . $ int32_t# x); |
| 27 | void fixSampleBeepcxx . . $ fixSampleBeep(60146f4515acbace).(moduleSample_tcxx . . $ moduleSample_t# *s); |
| 28 | void highPassSamplecxx . . $ highPassSample(d4f767463ce0a6b3).(int32_tcxx . . $ int32_t# cutOff); |
| 29 | void lowPassSamplecxx . . $ lowPassSample(d4f767463ce0a6b3).(int32_tcxx . . $ int32_t# cutOff); |
| 30 | void samplerRemoveDcOffsetcxx . . $ samplerRemoveDcOffset(49f6e7a06ebc5aa8).(void); |
| 31 | void samplerResamplecxx . . $ samplerResample(49f6e7a06ebc5aa8).(void); |
| 32 | void doMixcxx . . $ doMix(49f6e7a06ebc5aa8).(void); |
| 33 | void boostSamplecxx . . $ boostSample(918ebd27a9ddbad3).(int32_tcxx . . $ int32_t# sample, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! ignoreMark); |
| 34 | void filterSamplecxx . . $ filterSample(918ebd27a9ddbad3).(int32_tcxx . . $ int32_t# sample, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! ignoreMark); |
| 35 | void toggleTuningTonecxx . . $ toggleTuningTone(49f6e7a06ebc5aa8).(void); |
| 36 | void samplerSamDeletecxx . . $ samplerSamDelete(ac50b47256ae7414).(uint8_tcxx . . $ uint8_t# cut); |
| 37 | void samplerSamPastecxx . . $ samplerSamPaste(49f6e7a06ebc5aa8).(void); |
| 38 | void samplerSamCopycxx . . $ samplerSamCopy(49f6e7a06ebc5aa8).(void); |
| 39 | void samplerLoopTogglecxx . . $ samplerLoopToggle(49f6e7a06ebc5aa8).(void); |
| 40 | void samplerBarPressedcxx . . $ samplerBarPressed(b45ddcbc8423892c).(boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! mouseButtonHeld); |
| 41 | void samplerEditSamplecxx . . $ samplerEditSample(b45ddcbc8423892c).(boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! mouseButtonHeld); |
| 42 | void samplerSamplePressedcxx . . $ samplerSamplePressed(b45ddcbc8423892c).(boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! mouseButtonHeld); |
| 43 | void volBoxBarPressedcxx . . $ volBoxBarPressed(b45ddcbc8423892c).(boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! mouseButtonHeld); |
| 44 | void samplerZoomInMouseWheelcxx . . $ samplerZoomInMouseWheel(49f6e7a06ebc5aa8).(void); |
| 45 | void samplerZoomOutMouseWheelcxx . . $ samplerZoomOutMouseWheel(49f6e7a06ebc5aa8).(void); |
| 46 | void samplerZoomOut2xcxx . . $ samplerZoomOut2x(49f6e7a06ebc5aa8).(void); |
| 47 | void sampleMarkerToBegcxx . . $ sampleMarkerToBeg(49f6e7a06ebc5aa8).(void); |
| 48 | void sampleMarkerToCentercxx . . $ sampleMarkerToCenter(49f6e7a06ebc5aa8).(void); |
| 49 | void sampleMarkerToEndcxx . . $ sampleMarkerToEnd(49f6e7a06ebc5aa8).(void); |
| 50 | void samplerPlayWaveformcxx . . $ samplerPlayWaveform(49f6e7a06ebc5aa8).(void); |
| 51 | void samplerPlayDisplaycxx . . $ samplerPlayDisplay(49f6e7a06ebc5aa8).(void); |
| 52 | void samplerPlayRangecxx . . $ samplerPlayRange(49f6e7a06ebc5aa8).(void); |
| 53 | void samplerRangeAllcxx . . $ samplerRangeAll(49f6e7a06ebc5aa8).(void); |
| 54 | void samplerShowRangecxx . . $ samplerShowRange(49f6e7a06ebc5aa8).(void); |
| 55 | void samplerShowAllcxx . . $ samplerShowAll(49f6e7a06ebc5aa8).(void); |
| 56 | void redoSampleDatacxx . . $ redoSampleData(4af4fd0e2b26c4ac).(int8_tcxx . . $ int8_t# sample); |
| 57 | void fillSampleRedoBuffercxx . . $ fillSampleRedoBuffer(4af4fd0e2b26c4ac).(int8_tcxx . . $ int8_t# sample); |
| 58 | void updateSamplePoscxx . . $ updateSamplePos(49f6e7a06ebc5aa8).(void); |
| 59 | void fillSampleFilterUndoBuffercxx . . $ fillSampleFilterUndoBuffer(49f6e7a06ebc5aa8).(void); |
| 60 | void exitFromSamcxx . . $ exitFromSam(49f6e7a06ebc5aa8).(void); |
| 61 | void samplerScreencxx . . $ samplerScreen(49f6e7a06ebc5aa8).(void); |
| 62 | void displaySamplecxx . . $ displaySample(49f6e7a06ebc5aa8).(void); |
| 63 | void redrawSamplecxx . . $ redrawSample(49f6e7a06ebc5aa8).(void); |
| 64 | void renderSampleDatacxx . . $ renderSampleData(49f6e7a06ebc5aa8).(void); |
| 65 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! allocSamplerVarscxx . . $ allocSamplerVars(c9857a73d68e59ba).(void); |
| 66 | void deAllocSamplerVarscxx . . $ deAllocSamplerVars(49f6e7a06ebc5aa8).(void); |
| 67 | void setLoopSpritescxx . . $ setLoopSprites(49f6e7a06ebc5aa8).(void); |
| 68 | void drawSamplerLinecxx . . $ drawSamplerLine(49f6e7a06ebc5aa8).(void); |