56dc1ffd50
Fixed wxStreamBuffer to support features of wxMemoryOutputStream wxMMedia2 updates (various fixes) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
33 lines
707 B
C++
33 lines
707 B
C++
// --------------------------------------------------------------------------
|
|
// Name: sndcodec.h
|
|
// Purpose:
|
|
// Date: 08/11/1999
|
|
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
|
|
// CVSID: $Id$
|
|
// --------------------------------------------------------------------------
|
|
#ifndef _WX_SNDCODEC_H
|
|
#define _WX_SNDCODEC_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface "sndcodec.h"
|
|
#endif
|
|
|
|
#include "sndbase.h"
|
|
|
|
class wxSoundStreamCodec: public wxSoundStream {
|
|
public:
|
|
wxSoundStreamCodec(wxSoundStream& snd_io);
|
|
~wxSoundStreamCodec();
|
|
|
|
bool StartProduction(int evt);
|
|
bool StopProduction();
|
|
|
|
void SetDuplexMode(bool duplex);
|
|
wxUint32 GetBestSize() const;
|
|
|
|
protected:
|
|
wxSoundStream *m_sndio;
|
|
};
|
|
|
|
#endif
|