1 /* 2 * A Z-Machine 3 * Copyright (C) 2000 Andrew Hunter 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 20 /* 21 * Sound support 22 */ 23 24 #ifndef __SOUND_H 25 #define __SOUND_H 26 27 #include "file.h" 28 29 extern void sound_initialise (void); 30 extern void sound_finalise (void); 31 extern void sound_play_aiff (int channel, 32 ZFile* file, 33 int offset, 34 int len); 35 extern void sound_play_mod (int channel, 36 ZFile* file, 37 int offset, 38 int len); 39 extern void sound_stop_channel(int channel); 40 41 extern void sound_setup_channel(int channel, 42 int volume, 43 int repeat); 44 45 #endif 46