CD-ROM CUE indexes are now respected for skip even if prestart is 0 (fixes CUE+BIN images that use indexes for pregap), CD Audio attenuation is now done per the specification, and proper sound card filtering and volume calculation now applies to CD Audio.
This commit is contained in:
@@ -14,7 +14,9 @@ typedef struct ad1848_t
|
||||
int count;
|
||||
|
||||
int16_t out_l, out_r;
|
||||
|
||||
|
||||
uint32_t cd_vol_l, cd_vol_r;
|
||||
|
||||
int enable;
|
||||
|
||||
int irq, dma;
|
||||
|
||||
@@ -45,6 +45,8 @@ extern int sound_card_current;
|
||||
|
||||
extern void sound_add_handler(void (*get_buffer)(int32_t *buffer, \
|
||||
int len, void *p), void *p);
|
||||
extern void sound_set_cd_audio_filter(void (*filter)(int channel, \
|
||||
float *buffer, void *p), void *p);
|
||||
|
||||
extern int sound_card_available(int card);
|
||||
extern char *sound_card_getname(int card);
|
||||
|
||||
Reference in New Issue
Block a user