]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/sound.h
Added drawing context to allow 'virtual' (dynamic) attributes, for e.g. showing bookm...
[wxWidgets.git] / interface / wx / sound.h
index b4e65d0e509e8f935a94db2c1b60aa6d5ce78571..5f2c78300b90a22180a5ab3794a00ba8ca2da621 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     interface of wxSound
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 /**
@@ -16,7 +16,7 @@
     Open Sound System or Simple DirectMedia Layer).
 
     @library{wxadv}
-    @category{misc}
+    @category{media}
 */
 class wxSound : public wxObject
 {
@@ -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.
     */