📄 sound.cpp
字号:
/////////////////////////////////////////////////////////////////////////////
// Name: src/palmos/sound.cpp
// Purpose: wxSound
// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Created: 10/13/04
// RCS-ID: $Id: sound.cpp,v 1.2 2005/01/21 21:04:03 ABX Exp $
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "sound.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#if defined(__BORLANDC__)
#pragma hdrstop
#endif
#if wxUSE_SOUND
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx/file.h"
#include "wx/sound.h"
#include "wx/palmos/private.h"
wxSound::wxSound()
: m_waveData(NULL), m_waveLength(0), m_isResource(false)
{
}
wxSound::wxSound(const wxString& sFileName, bool isResource)
: m_waveData(NULL), m_waveLength(0), m_isResource(isResource)
{
}
wxSound::wxSound(int size, const wxByte* data)
: m_waveData(NULL), m_waveLength(0), m_isResource(false)
{
}
wxSound::~wxSound()
{
}
bool wxSound::Create(const wxString& fileName, bool isResource)
{
return false;
}
bool wxSound::Create(int size, const wxByte* data)
{
return false;
}
bool wxSound::DoPlay(unsigned flags) const
{
return false;
}
bool wxSound::Free()
{
return false;
}
/*static*/ void wxSound::Stop()
{
}
#endif // wxUSE_SOUND
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -