git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
62 lines
1.1 KiB
C++
62 lines
1.1 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wave.cpp
|
|
// Purpose: wxWave class implementation: optional
|
|
// Author: AUTHOR
|
|
// Modified by:
|
|
// Created: ??/??/98
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) AUTHOR
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation "wave.h"
|
|
#endif
|
|
|
|
#include "wx/object.h"
|
|
#include "wx/string.h"
|
|
#include "wx/stubs/wave.h"
|
|
|
|
wxWave::wxWave()
|
|
: m_waveData(NULL), m_waveLength(0), m_isResource(FALSE)
|
|
{
|
|
}
|
|
|
|
wxWave::wxWave(const wxString& sFileName, bool isResource)
|
|
: m_waveData(NULL), m_waveLength(0), m_isResource(FALSE)
|
|
{
|
|
Create(sFileName, isResource);
|
|
}
|
|
|
|
|
|
wxWave::~wxWave()
|
|
{
|
|
Free();
|
|
}
|
|
|
|
bool wxWave::Create(const wxString& fileName, bool isResource)
|
|
{
|
|
Free();
|
|
|
|
// TODO
|
|
|
|
return FALSE;
|
|
}
|
|
|
|
bool wxWave::Play(bool async, bool looped) const
|
|
{
|
|
if (!IsOk())
|
|
return FALSE;
|
|
|
|
// TODO
|
|
return FALSE;
|
|
}
|
|
|
|
bool wxWave::Free()
|
|
{
|
|
// TODO
|
|
return FALSE;
|
|
}
|
|
|
|
|