00001 /* 00002 $Id: soundbuffer_stream_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 File purpose: 00015 Sound card impl. that uses the ClanSound library. 00016 00017 */ 00018 00019 #ifndef header_soundbuffer_stream_be 00020 #define header_soundbuffer_stream_be 00021 00022 #include "API/Core/Sound/stream_soundprovider.h" 00023 #include "soundcard_be.h" 00024 #include "cardplayback_be.h" 00025 #include "Core/System/Unix/init_linux.h" 00026 00027 class CL_CardPlayback_Be_Stream 00028 : public CL_CardPlayback_Be, CL_System_KeepAlive 00029 { 00030 protected: 00031 CL_StreamSoundProvider *provider; 00032 CL_StreamSoundProvider_Session *provider_session; 00033 00034 public: 00035 CL_CardPlayback_Be_Stream(CL_StreamSoundProvider *provider); 00036 virtual ~CL_CardPlayback_Be_Stream(); 00037 00038 virtual bool set_position(int new_pos); 00039 virtual void play(); 00040 virtual void stop(); 00041 00042 virtual bool keep_alive(); 00043 }; 00044 00045 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001