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