X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0aa7c4413630644b24c808d2762c7eff9216f21d..a766986f6d443ba1d50e3af25f3306fa56e4518e:/src/unix/sound.cpp?ds=sidebyside diff --git a/src/unix/sound.cpp b/src/unix/sound.cpp index 997873bf90..0afab5a47b 100644 --- a/src/unix/sound.cpp +++ b/src/unix/sound.cpp @@ -13,7 +13,7 @@ #include "wx/wxprec.h" #if defined(__BORLANDC__) -#pragma hdrstop + #pragma hdrstop #endif #if wxUSE_SOUND @@ -31,11 +31,11 @@ #include "wx/event.h" #include "wx/intl.h" #include "wx/log.h" + #include "wx/module.h" #endif #include "wx/thread.h" #include "wx/file.h" -#include "wx/module.h" #include "wx/sound.h" #include "wx/dynlib.h" @@ -296,7 +296,7 @@ class wxSoundSyncOnlyAdaptor : public wxSoundBackend public: wxSoundSyncOnlyAdaptor(wxSoundBackend *backend) : m_backend(backend), m_playing(false) {} - ~wxSoundSyncOnlyAdaptor() + virtual ~wxSoundSyncOnlyAdaptor() { delete m_backend; } @@ -640,7 +640,7 @@ bool wxSound::LoadWAV(const wxUint8 *data, size_t length, bool copyData) // 28 average bytes per second | // 32 bytes per frame | // 34 bits per sample | - // + // // 36 "data" // 40 number of data bytes // 44 (wave signal) data