YM2612: add reverse sample playback
This commit is contained in:
parent
9d6d84a87f
commit
0b7d27dc29
7 changed files with 34 additions and 10 deletions
|
|
@ -59,6 +59,7 @@ enum DivDispatchCmds {
|
|||
DIV_CMD_SAMPLE_FREQ, // (frequency)
|
||||
DIV_CMD_SAMPLE_BANK, // (bank)
|
||||
DIV_CMD_SAMPLE_POS, // (pos)
|
||||
DIV_CMD_SAMPLE_DIR, // (direction)
|
||||
|
||||
DIV_CMD_FM_HARD_RESET, // (enabled)
|
||||
DIV_CMD_FM_LFO, // (speed)
|
||||
|
|
@ -222,6 +223,8 @@ struct DivRegWrite {
|
|||
* - data is the sample rate
|
||||
* - 0xffffxx02: stop sample playback
|
||||
* - xx is the instance ID
|
||||
* - 0xffffxx03: set sample playback direction
|
||||
* - x is the instance ID
|
||||
* - 0xffffffff: reset
|
||||
*/
|
||||
unsigned int addr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue