CD audio processing now performed on a dedicated thread.

Sound Blaster mixer now affect CD volume.
This commit is contained in:
TomW 2015-08-23 15:35:37 +01:00
commit 8b572111da
4 changed files with 143 additions and 38 deletions

View file

@ -9,3 +9,7 @@ char *sound_card_getname(int card);
struct device_t *sound_card_getdevice(int card);
int sound_card_has_config(int card);
void sound_card_init();
void sound_set_cd_volume(unsigned int vol_l, unsigned int vol_r);
#define CD_FREQ 44100
#define CD_BUFLEN (CD_FREQ / 10)