00001 /* 00002 $Id: vorbis_soundprovider.h,v 1.7 2001/03/06 20:45:16 japj 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_vorbis_soundprovider 00018 #define header_vorbis_soundprovider 00019 00020 #include "../core.h" 00021 #include "../Sound/stream_soundprovider.h" 00022 #include "../Sound/soundbuffer.h" 00023 00024 00025 class CL_VorbisSoundProvider : public CL_StreamSoundProvider 00026 { 00027 public: 00028 CL_VorbisSoundProvider( 00029 const std::string &name, 00030 CL_InputSourceProvider *provider = NULL, 00031 bool delete_provider = false); 00032 00033 CL_VorbisSoundProvider( 00034 const std::string &name, 00035 CL_ResourceManager *resources); 00036 00037 virtual ~CL_VorbisSoundProvider(); 00038 00039 virtual CL_StreamSoundProvider_Session *begin_session(); 00040 virtual void end_session(CL_StreamSoundProvider_Session *session); 00041 00042 private: 00043 CL_VorbisSoundProvider(const CL_VorbisSoundProvider ©) { return; } // disallow copy construction. 00044 class CL_VorbisSoundProvider_Generic *impl; 00045 }; 00046 00047 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001