]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxMMedia2/lib/sndcodec.cpp
fixed URL parsing problem
[wxWidgets.git] / utils / wxMMedia2 / lib / sndcodec.cpp
... / ...
CommitLineData
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
16wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream& snd_io)
17 : m_sndio(&snd_io)
18{
19}
20
21wxSoundStreamCodec::~wxSoundStreamCodec()
22{
23}
24
25bool wxSoundStreamCodec::StartProduction(int evt)
26{
27 return m_sndio->StartProduction(evt);
28}
29
30bool wxSoundStreamCodec::StopProduction()
31{
32 return m_sndio->StopProduction();
33}
34
35void wxSoundStreamCodec::SetDuplexMode(bool duplex)
36{
37 m_sndio->SetDuplexMode(duplex);
38}