sndcodec.cpp

来自「Wxpython Implemented on Windows CE, Sou」· C++ 代码 · 共 46 行

CPP
46
字号
// --------------------------------------------------------------------------
// Name: sndcodec.cpp
// Purpose:
// Date: 08/11/1999
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
// CVSID: $Id: sndcodec.cpp,v 1.3 2005/09/23 12:47:51 MR Exp $
// wxWindows licence
// --------------------------------------------------------------------------

#include "wx/wxprec.h"

#ifndef WX_PRECOMP
#include "wx/defs.h"
#endif

#ifdef __BORLANDC__
  #pragma hdrstop
#endif

#include "wx/mmedia/sndbase.h"
#include "wx/mmedia/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();
}

wxUint32 wxSoundStreamCodec::GetBestSize() const
{
  return m_sndio->GetBestSize();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?