]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/mmedia/sndcodec.cpp
adjusting to SetLabel migration
[wxWidgets.git] / contrib / src / mmedia / sndcodec.cpp
CommitLineData
e8482f24
GL
1// --------------------------------------------------------------------------
2// Name: sndcodec.cpp
3// Purpose:
4// Date: 08/11/1999
5// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
6// CVSID: $Id$
58b9c9ba 7// wxWindows licence
e8482f24 8// --------------------------------------------------------------------------
e8482f24
GL
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
23wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream& snd_io)
24 : m_sndio(&snd_io)
25{
26}
27
28wxSoundStreamCodec::~wxSoundStreamCodec()
29{
30}
31
32bool wxSoundStreamCodec::StartProduction(int evt)
33{
34 return m_sndio->StartProduction(evt);
35}
36
37bool wxSoundStreamCodec::StopProduction()
38{
39 return m_sndio->StopProduction();
40}
41
42wxUint32 wxSoundStreamCodec::GetBestSize() const
43{
44 return m_sndio->GetBestSize();
45}