PCem

view src/sound.h @ 113:f749363ad763

Added per-device configuration. Reworked configuration parser a bit. Added configuration for S3 ViRGE and 8-bit Sound Blasters. IRQ 2 routed to IRQ 9 on AT machines.
author TomW
date Mon Jun 30 21:31:28 2014 +0100
parents 08a942c94a1d
children 2b9cea0be424
line source
1 void sound_add_handler(void (*poll)(void *p), void (*get_buffer)(int16_t *buffer, int len, void *p), void *p);
3 extern int wasgated;
4 extern int sbtype;
6 extern int sound_card_current;
8 int sound_card_available(int card);
9 char *sound_card_getname(int card);
10 struct device_t *sound_card_getdevice(int card);
11 int sound_card_has_config(int card);
12 void sound_card_init();