git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
77 lines
1.4 KiB
C++
77 lines
1.4 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/palmos/sound.cpp
|
|
// Purpose: wxSound
|
|
// Author: William Osborne - minimal working wxPalmOS port
|
|
// Modified by:
|
|
// Created: 10/13/04
|
|
// RCS-ID: $Id$
|
|
// 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
|