Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

soundcard_dx.h

Go to the documentation of this file.
00001 #ifndef header_soundcard_dx
00002 #define header_soundcard_dx
00003 
00004 #include "Core/Sound/Generic/soundcard_generic.h"
00005 
00006 class CL_SoundCard_DX : public CL_SoundCard_Generic
00007 {
00008         bool is_initialized;
00009         std::string name;
00010         LPGUID guid;
00011         bool soundcard_enabled;
00012 
00013         void init_directsound();
00014 public:
00015         LPDIRECTSOUND soundcard;
00016 
00017         CL_SoundCard_DX(int card_no, std::string _name, LPGUID guid);
00018         virtual ~CL_SoundCard_DX();
00019 
00020         virtual CL_CardSoundBuffer_Static *create_soundbuffer_static(
00021                 CL_SoundBuffer_Generic *owner,
00022                 CL_StaticSoundProvider *provider);
00023 
00024         CL_CardSoundBuffer_Playback *create_cardsoundbuffer_playback_streamed(
00025                 CL_SoundBuffer_Generic_Stream *soundbuffer);
00026 
00027         virtual CL_StreamSoundProvider *get_microphone() { return NULL; }
00028         virtual CL_StreamSoundProvider *get_line_in() { return NULL; }
00029 
00030         virtual void stop_all() { ; }
00031         virtual void set_global_volume(int volume) { ; }
00032         virtual void set_global_pan(int pan) { ; }
00033 
00034 };
00035 
00036 #endif

Generated at Wed Apr 4 19:54:03 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001