]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/src/mmedia/sndcodec.cpp
bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas...
[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// wxWindows licence
8// --------------------------------------------------------------------------
9#ifdef __GNUG__
10#pragma implementation "sndcodec.cpp"
11#endif
12
13#include "wx/wxprec.h"
14
15#ifndef WX_PRECOMP
16#include "wx/defs.h"
17#endif
18
19#ifdef __BORLANDC__
20 #pragma hdrstop
21#endif
22
23#include "wx/mmedia/sndbase.h"
24#include "wx/mmedia/sndcodec.h"
25
26wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream& snd_io)
27 : m_sndio(&snd_io)
28{
29}
30
31wxSoundStreamCodec::~wxSoundStreamCodec()
32{
33}
34
35bool wxSoundStreamCodec::StartProduction(int evt)
36{
37 return m_sndio->StartProduction(evt);
38}
39
40bool wxSoundStreamCodec::StopProduction()
41{
42 return m_sndio->StopProduction();
43}
44
45wxUint32 wxSoundStreamCodec::GetBestSize() const
46{
47 return m_sndio->GetBestSize();
48}