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

cardplayback_clan.h

Go to the documentation of this file.
00001 /*
00002         $Id: cardplayback_clan.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_cardplayback_clan
00016 #define header_cardplayback_clan
00017 
00018 #ifdef USE_CLANSOUND
00019 
00020 #include "../Generic/cardsession_manager.h"
00021 #include "soundcard_clan.h"
00022 
00023 class CL_CardPlayback_ClanSound : public CL_CardSoundBuffer_Playback
00024 {
00025 protected:
00026         CL_CardPlayback_ClanSound(CL_SoundCard_ClanSound *card);
00027 
00028 public:
00029         virtual ~CL_CardPlayback_ClanSound();
00030         
00031         // Mixer interface:
00032         // ----------------
00033         
00034         virtual void get_playback_data(int *data, int num_samples)=0;
00035         virtual void mix_to(int *data, int num_samples)=0;
00036 
00037 protected:
00038         CL_SoundCard_ClanSound *card;
00039 };
00040 
00041 #endif /* USE_CLANSOUND */
00042 
00043 #endif

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