00001 /* 00002 $Id: soundcard_be.h,v 1.1 2001/03/06 15:09:24 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 00015 #ifndef header_soundcard_be 00016 #define header_soundcard_be 00017 00018 #include "Core/Sound/Generic/soundcard_generic.h" 00019 00020 #include <GameSoundDefs.h> 00021 #include <SimpleGameSound.h> 00022 00023 class CL_SoundCard_Be : public CL_SoundCard_Generic 00024 { 00025 public: 00026 CL_SoundCard_Be(); 00027 virtual ~CL_SoundCard_Be(); 00028 00029 // Member vars from CL_SoundCard: 00030 // CL_String name; 00031 // int card_no; 00032 00033 // Functions inherited from API: 00034 // ----------------------------- 00035 virtual CL_StreamSoundProvider *get_microphone(); 00036 virtual CL_StreamSoundProvider *get_line_in(); 00037 00038 virtual void stop_all(); 00039 virtual void set_global_volume(int volume); 00040 virtual void set_global_pan(int pan); 00041 00042 // Functions inherited from Generic: 00043 // --------------------------------- 00044 virtual CL_CardSoundBuffer_Static *create_soundbuffer_static( 00045 CL_StaticSoundProvider *provider); 00046 00047 virtual CL_CardSoundBuffer_Playback *create_cardsoundbuffer_playback_streamed( 00048 CL_SoundBuffer_Generic_Stream *provider, CL_SoundPlayBackDesc *desc); 00049 }; 00050 00051 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001