1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2002 Dave Chapman
11 * sound.h - common sound driver file.
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
26 /* The "sound device type" */
36 #warning "No sound yet in win32"
38 #warning "No sound in this environment"
42 int init_sound(sound_t
* sound
);
43 int config_sound(sound_t
* sound
, int sound_freq
, int channels
);
44 void close_sound(sound_t
* sound
);
45 int output_sound(sound_t
* sound
,const void* buf
, int count
);