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 16void load_settings(); 17void release_settings(); 18 19void 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