]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/mmedia/sndcodec.cpp
Aliases for [G|S]etCaretLineBack
[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 // wxWindows licence
8 // --------------------------------------------------------------------------
9
10 #include "wx/wxprec.h"
11
12 #ifndef WX_PRECOMP
13 #include "wx/defs.h"
14 #endif
15
16 #ifdef __BORLANDC__
17 #pragma hdrstop
18 #endif
19
20 #include "wx/mmedia/sndbase.h"
21 #include "wx/mmedia/sndcodec.h"
22
23 wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream& snd_io)
24 : m_sndio(&snd_io)
25 {
26 }
27
28 wxSoundStreamCodec::~wxSoundStreamCodec()
29 {
30 }
31
32 bool wxSoundStreamCodec::StartProduction(int evt)
33 {
34 return m_sndio->StartProduction(evt);
35 }
36
37 bool wxSoundStreamCodec::StopProduction()
38 {
39 return m_sndio->StopProduction();
40 }
41
42 wxUint32 wxSoundStreamCodec::GetBestSize() const
43 {
44 return m_sndio->GetBestSize();
45 }