X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dos_sbtest;a=blobdiff_plain;f=src%2Faudio.c;fp=src%2Faudio.c;h=88b84005d3a66f81368386a61f1e7f360e10fc97;hp=adb8e3e4646c883db9c9885d46e29bc6502ba664;hb=b4ee0075a2a231ef06e333b77510187aeb22f8fa;hpb=07c19444f4f2a55abf97d181ab62aeaa51033c62 diff --git a/src/audio.c b/src/audio.c index adb8e3e..88b8400 100644 --- a/src/audio.c +++ b/src/audio.c @@ -4,7 +4,7 @@ struct audrv { void *(*get_buffer)(int *size); - void (*start)(int rate, int nchan); + void (*start)(int rate, int bits, int nchan); void (*pause)(void); void (*cont)(void); void (*stop)(void); @@ -47,9 +47,9 @@ int audio_callback(void *buf, int sz) return cbfunc(buf, sz, cbcls); } -void audio_play(int rate, int nchan) +void audio_play(int rate, int bits, int nchan) { - drv.start(rate, nchan); + drv.start(rate, bits, nchan); } void audio_pause(void)