]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/src/mmedia/sndcodec.cpp
Compile fix.
[wxWidgets.git] / contrib / src / mmedia / 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
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
25wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream& snd_io)
26 : m_sndio(&snd_io)
27{
28}
29
30wxSoundStreamCodec::~wxSoundStreamCodec()
31{
32}
33
34bool wxSoundStreamCodec::StartProduction(int evt)
35{
36 return m_sndio->StartProduction(evt);
37}
38
39bool wxSoundStreamCodec::StopProduction()
40{
41 return m_sndio->StopProduction();
42}
43
44wxUint32 wxSoundStreamCodec::GetBestSize() const
45{
46 return m_sndio->GetBestSize();
47}