00001 /* 00002 $Id: soundcard_be.cpp,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 #include "Core/precomp.h" 00016 00017 #include <API/Core/Sound/static_soundprovider.h> 00018 #include <API/Core/Sound/stream_soundprovider.h> 00019 #include "API/Core/System/cl_assert.h" 00020 #include <Core/Sound/Generic/cardsoundbuffer_playback.h> 00021 #include <Core/Sound/Generic/cardsoundbuffer_static.h> 00022 #include <Core/Sound/Generic/soundbuffer_stream.h> 00023 #include <Core/Sound/Be/soundbuffer_static_be.h> 00024 #include <Core/Sound/Be/soundbuffer_stream_be.h> 00025 #include <Core/Sound/Be/soundcard_be.h> 00026 00027 CL_SoundCard_Be::CL_SoundCard_Be() 00028 { 00029 name = "Be soundcard"; 00030 } 00031 00032 CL_SoundCard_Be::~CL_SoundCard_Be() 00033 { 00034 } 00035 00036 // Functions inherited from API: 00037 // ----------------------------- 00038 00039 CL_StreamSoundProvider *CL_SoundCard_Be::get_microphone() 00040 { 00041 return NULL; 00042 } 00043 00044 CL_StreamSoundProvider *CL_SoundCard_Be::get_line_in() 00045 { 00046 return NULL; 00047 } 00048 00049 void CL_SoundCard_Be::stop_all() 00050 { 00051 } 00052 00053 void CL_SoundCard_Be::set_global_volume(int /*volume*/) 00054 { 00055 } 00056 00057 void CL_SoundCard_Be::set_global_pan(int /*pan*/) 00058 { 00059 } 00060 00061 // Functions inherited from Generic: 00062 // --------------------------------- 00063 00064 CL_CardSoundBuffer_Static *CL_SoundCard_Be::create_soundbuffer_static( 00065 CL_StaticSoundProvider *provider) 00066 { 00067 return new CL_CardBuffer_Static_Be(provider); 00068 } 00069 00070 CL_CardSoundBuffer_Playback *CL_SoundCard_Be::create_cardsoundbuffer_playback_streamed( 00071 CL_SoundBuffer_Generic_Stream *provider, 00072 CL_SoundPlayBackDesc * /*desc*/) 00073 { 00074 return new CL_CardPlayback_Be_Stream( 00075 provider->get_stream_provider()); 00076 }
1.2.6 written by Dimitri van Heesch,
© 1997-2001