]>
git.saurik.com Git - wxWidgets.git/blob - contrib/src/mmedia/sndcodec.cpp
1 // --------------------------------------------------------------------------
5 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
7 // --------------------------------------------------------------------------
9 #pragma implementation "sndcodec.cpp"
12 #include "wx/wxprec.h"
22 #include "wx/mmedia/sndbase.h"
23 #include "wx/mmedia/sndcodec.h"
25 wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream
& snd_io
)
30 wxSoundStreamCodec::~wxSoundStreamCodec()
34 bool wxSoundStreamCodec::StartProduction(int evt
)
36 return m_sndio
->StartProduction(evt
);
39 bool wxSoundStreamCodec::StopProduction()
41 return m_sndio
->StopProduction();
44 wxUint32
wxSoundStreamCodec::GetBestSize() const
46 return m_sndio
->GetBestSize();