fixed DMA bug
[dos_sbtest] / src / audio.h
index 1fde706..c522134 100644 (file)
@@ -1,20 +1,3 @@
-/*\r
-pcboot - bootable PC demo/game kernel\r
-Copyright (C) 2018  John Tsiombikas <nuclear@member.fsf.org>\r
-\r
-This program is free software: you can redistribute it and/or modify\r
-it under the terms of the GNU General Public License as published by\r
-the Free Software Foundation, either version 3 of the License, or\r
-(at your option) any later version.\r
-\r
-This program is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY, without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License\r
-along with this program.  If not, see <https://www.gnu.org/licenses/>.\r
-*/\r
 #ifndef AUDIO_H_\r
 #define AUDIO_H_\r
 \r
@@ -25,7 +8,7 @@ void audio_init(void);
 void audio_set_callback(audio_callback_func func, void *cls);\r
 int audio_callback(void *buf, int sz);\r
 \r
-void audio_play(int rate, int nchan);\r
+void audio_play(int rate, int bits, int nchan);\r
 void audio_pause(void);\r
 void audio_resume(void);\r
 void audio_stop(void);\r