// Purpose: interface of wxSound
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
Open Sound System or Simple DirectMedia Layer).
@library{wxadv}
- @category{misc}
+ @category{media}
*/
class wxSound : public wxObject
{
*/
wxSound(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.
+ */
+ wxSound(size_t size, const void* data);
+
/**
Destroys the wxSound object.
*/