PCem
view src/sound.h @ 132:2b9cea0be424
Improvements to PC speaker - fixes sound on Beyond Castle Wolfenstein and probably other games as well.
| author | TomW |
|---|---|
| date | Wed Jul 16 20:44:29 2014 +0100 |
| parents | f749363ad763 |
| children |
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 sbtype;
5 extern int sound_card_current;
7 int sound_card_available(int card);
8 char *sound_card_getname(int card);
9 struct device_t *sound_card_getdevice(int card);
10 int sound_card_has_config(int card);
11 void sound_card_init();
