xref: /haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/Settings.h (revision ed24eb5ff12640d052171c6a7feba37fab8a75d1)
1 /*
2  *	SiS 7018, Trident 4D Wave DX/NX, Acer Lab M5451 Sound Driver.
3  *	Copyright (c) 2002, 2008-2011 S.Zharski <imker@gmx.li>
4  *	Distributed under the terms of the MIT license.
5  *
6  */
7 #ifndef _SiS7018_SETTINGS_H_
8 #define _SiS7018_SETTINGS_H_
9 
10 
11 #include <driver_settings.h>
12 
13 #include "Driver.h"
14 
15 
16 void load_settings();
17 void release_settings();
18 
19 void SiS7018_trace(bool force, const char *func, const char *fmt, ...);
20 
21 #ifdef TRACE
22 #undef TRACE
23 #endif
24 #define	TRACE(x...) SiS7018_trace(false, __func__, x)
25 
26 #ifdef ERROR
27 #undef ERROR
28 #endif
29 #define ERROR(x...) SiS7018_trace(true, __func__, x)
30 
31 
32 #endif //_SiS7018_SETTINGS_H_
33 
34