X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c99e2fd1b3432974b892be508c0757da5b6ad49..58cc15871d1a5ec5a6cc17f50be3e2006f57571f:/interface/wx/sound.h diff --git a/interface/wx/sound.h b/interface/wx/sound.h index 862f93289d..5f2c78300b 100644 --- a/interface/wx/sound.h +++ b/interface/wx/sound.h @@ -3,7 +3,7 @@ // Purpose: interface of wxSound // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -37,6 +37,16 @@ public: */ 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. */