1 /* @(#)sndconfig.h	1.4 06/05/13 Copyright 1998,1999 Heiko Eissfeldt */
2 
3 /*
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * See the file CDDL.Schily.txt in this distribution for details.
10  * A copy of the CDDL is also available via the Internet at
11  * http://www.opensource.org/licenses/cddl1.txt
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file CDDL.Schily.txt from this distribution.
15  */
16 
17 #ifndef	_SNDCONFIG_H
18 #define	_SNDCONFIG_H
19 
20 #define	NONBLOCKING_AUDIO
21 
22 extern	int	set_snd_device	__PR((const char *devicename));
23 extern	int	init_soundcard	__PR((double rate, int bits));
24 
25 extern	int	open_snd_device	__PR((void));
26 extern	int	close_snd_device __PR((void));
27 extern	int	write_snd_device __PR((char *buffer, unsigned length));
28 
29 #endif	/* _SNDCONFIG_H */
30