00001 /* 00002 $Id: soundfilter.h,v 1.1 2001/03/06 15:09:12 mbn Exp $ 00003 00004 ------------------------------------------------------------------------ 00005 ClanLib, the platform independent game SDK. 00006 00007 This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE 00008 version 2. See COPYING for details. 00009 00010 For a total list of contributers see CREDITS. 00011 00012 ------------------------------------------------------------------------ 00013 */ 00014 00016 00017 #ifndef header_soundfilter 00018 #define header_soundfilter 00019 00020 class CL_SoundFilter 00021 { 00022 public: 00023 virtual ~CL_SoundFilter() { return; } 00024 00025 virtual void filter(int *sample_data, int num_samples)=0; 00026 // Filter callback. All sound data is passed through this function, 00027 // which modifies the sample data accordingly to the function of the 00028 // filter. 00029 // 00030 // The format of the sample data is always 16 bit stereo. 00031 }; 00032 00033 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001