1999-08-14 12:06:35 +00:00
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
// Name: sndcodec.cpp
|
|
|
|
// Purpose:
|
|
|
|
// Date: 08/11/1999
|
|
|
|
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
|
|
|
|
// CVSID: $Id$
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation "sndcodec.cpp"
|
|
|
|
#endif
|
|
|
|
|
1999-08-17 17:51:33 +00:00
|
|
|
#include <wx/wxprec.h>
|
1999-08-14 12:06:35 +00:00
|
|
|
#include "sndbase.h"
|
|
|
|
#include "sndcodec.h"
|
|
|
|
|
|
|
|
wxSoundStreamCodec::wxSoundStreamCodec(wxSoundStream& snd_io)
|
|
|
|
: m_sndio(&snd_io)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
wxSoundStreamCodec::~wxSoundStreamCodec()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool wxSoundStreamCodec::StartProduction(int evt)
|
|
|
|
{
|
|
|
|
return m_sndio->StartProduction(evt);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool wxSoundStreamCodec::StopProduction()
|
|
|
|
{
|
|
|
|
return m_sndio->StopProduction();
|
|
|
|
}
|
|
|
|
|
|
|
|
void wxSoundStreamCodec::SetDuplexMode(bool duplex)
|
|
|
|
{
|
|
|
|
m_sndio->SetDuplexMode(duplex);
|
|
|
|
}
|