526ddb13e2
Added wxMMedia2: it should work on linux (wave read/write, aiff read only) I begin to write windows driver now Added some file to filelist.txt Make configure build wxMMedia2 makefiles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
38 lines
788 B
C++
38 lines
788 B
C++
// --------------------------------------------------------------------------
|
|
// 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
|
|
|
|
#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);
|
|
}
|