]>
git.saurik.com Git - wxWidgets.git/blob - contrib/src/mmedia/sndcodec.cpp
1 // --------------------------------------------------------------------------
5 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
8 // --------------------------------------------------------------------------
10 #pragma implementation "sndcodec.cpp"
13 #include "wx/wxprec.h"
23 #include "wx/mmedia/sndbase.h"
24 #include "wx/mmedia/sndcodec.h"
26 wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream
& snd_io
)
31 wxSoundStreamCodec::~wxSoundStreamCodec()
35 bool wxSoundStreamCodec::StartProduction(int evt
)
37 return m_sndio
->StartProduction(evt
);
40 bool wxSoundStreamCodec::StopProduction()
42 return m_sndio
->StopProduction();
45 wxUint32
wxSoundStreamCodec::GetBestSize() const
47 return m_sndio
->GetBestSize();