X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dos_sbtest;a=blobdiff_plain;f=src%2Faudio.h;fp=src%2Faudio.h;h=c5221342d5bce6d261456b7fa2249bbc713bcf49;hp=1fde7067999addb79e2b2564b7e0f47a6243232a;hb=b4ee0075a2a231ef06e333b77510187aeb22f8fa;hpb=07c19444f4f2a55abf97d181ab62aeaa51033c62 diff --git a/src/audio.h b/src/audio.h index 1fde706..c522134 100644 --- a/src/audio.h +++ b/src/audio.h @@ -1,20 +1,3 @@ -/* -pcboot - bootable PC demo/game kernel -Copyright (C) 2018 John Tsiombikas - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY, without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ #ifndef AUDIO_H_ #define AUDIO_H_ @@ -25,7 +8,7 @@ void audio_init(void); void audio_set_callback(audio_callback_func func, void *cls); int audio_callback(void *buf, int sz); -void audio_play(int rate, int nchan); +void audio_play(int rate, int bits, int nchan); void audio_pause(void); void audio_resume(void); void audio_stop(void);