mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
core, revisit Pico sound handling
This commit is contained in:
parent
ba2b97dc24
commit
e348af76ec
3 changed files with 37 additions and 12 deletions
|
@ -475,6 +475,7 @@ struct PicoSound
|
|||
unsigned int fm_pos; // last FM position in Q20
|
||||
unsigned int psg_pos; // last PSG position in Q16
|
||||
unsigned int ym2413_pos; // last YM2413 position
|
||||
unsigned int pcm_pos; // last PCM position in Q16
|
||||
unsigned int fm_fir_mul, fm_fir_div; // ratio for FM resampling FIR
|
||||
};
|
||||
|
||||
|
@ -975,6 +976,7 @@ PICO_INTERNAL void PsndDoDAC(int cycle_to);
|
|||
PICO_INTERNAL void PsndDoPSG(int cyc_to);
|
||||
PICO_INTERNAL void PsndDoYM2413(int cyc_to);
|
||||
PICO_INTERNAL void PsndDoFM(int cyc_to);
|
||||
PICO_INTERNAL void PsndDoPCM(int cyc_to);
|
||||
PICO_INTERNAL void PsndClear(void);
|
||||
PICO_INTERNAL void PsndGetSamples(int y);
|
||||
PICO_INTERNAL void PsndGetSamplesMS(int y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue