Interface fixes for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,6 +6,12 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
#define wxSOUND_SYNC 0
|
||||||
|
#define wxSOUND_ASYNC 1
|
||||||
|
#define wxSOUND_LOOP 2
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@class wxSound
|
@class wxSound
|
||||||
|
|
||||||
@@ -64,6 +70,16 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool Create(const wxString& fileName, bool isResource = false);
|
bool Create(const wxString& fileName, bool isResource = false);
|
||||||
|
|
||||||
|
/**
|
||||||
|
Constructs a wave object from in-memory data.
|
||||||
|
|
||||||
|
@param size
|
||||||
|
Size of the buffer pointer to by @a data.
|
||||||
|
@param data
|
||||||
|
The buffer containing the sound data in WAV format.
|
||||||
|
*/
|
||||||
|
bool Create(size_t size, const void* data);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns @true if the object contains a successfully loaded file or resource,
|
Returns @true if the object contains a successfully loaded file or resource,
|
||||||
@false otherwise.
|
@false otherwise.
|
||||||
|
Reference in New Issue
Block a user