]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/mmedia/sndcodec.cpp
Added missing files to listing
[wxWidgets.git] / contrib / src / mmedia / sndcodec.cpp
1 // --------------------------------------------------------------------------
2 // Name: sndcodec.cpp
3 // Purpose:
4 // Date: 08/11/1999
5 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
6 // CVSID: $Id$
7 // --------------------------------------------------------------------------
8 #ifdef __GNUG__
9 #pragma implementation "sndcodec.cpp"
10 #endif
11
12 #include "wx/wxprec.h"
13
14 #ifndef WX_PRECOMP
15 #include "wx/defs.h"
16 #endif
17
18 #ifdef __BORLANDC__
19 #pragma hdrstop
20 #endif
21
22 #include "wx/mmedia/sndbase.h"
23 #include "wx/mmedia/sndcodec.h"
24
25 wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream& snd_io)
26 : m_sndio(&snd_io)
27 {
28 }
29
30 wxSoundStreamCodec::~wxSoundStreamCodec()
31 {
32 }
33
34 bool wxSoundStreamCodec::StartProduction(int evt)
35 {
36 return m_sndio->StartProduction(evt);
37 }
38
39 bool wxSoundStreamCodec::StopProduction()
40 {
41 return m_sndio->StopProduction();
42 }
43
44 wxUint32 wxSoundStreamCodec::GetBestSize() const
45 {
46 return m_sndio->GetBestSize();
47 }