]> git.saurik.com Git - wxWidgets.git/blob - utils/wxMMedia2/lib/sndcodec.cpp
Removed wxMMedia
[wxWidgets.git] / utils / wxMMedia2 / lib / 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 "sndbase.h"
13 #include "sndcodec.h"
14
15 wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream& snd_io)
16 : m_sndio(&snd_io)
17 {
18 }
19
20 wxSoundStreamCodec::~wxSoundStreamCodec()
21 {
22 }
23
24 bool wxSoundStreamCodec::StartProduction(int evt)
25 {
26 return m_sndio->StartProduction(evt);
27 }
28
29 bool wxSoundStreamCodec::StopProduction()
30 {
31 return m_sndio->StopProduction();
32 }
33
34 void wxSoundStreamCodec::SetDuplexMode(bool duplex)
35 {
36 m_sndio->SetDuplexMode(duplex);
37 }