]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/sndaiff.cpp
Compile fix for sound without threads. Not sure
[wxWidgets.git] / contrib / src / mmedia / sndaiff.cpp
index f86a81e34603c3547319e32a506e015729852e28..6174200eb2b13df56f08aa6e00fac99c1ca87b8f 100644 (file)
@@ -55,7 +55,7 @@ wxSoundAiff::~wxSoundAiff()
 
 wxString wxSoundAiff::GetCodecName() const
 {
 
 wxString wxSoundAiff::GetCodecName() const
 {
-    return "wxSoundAiff codec";
+    return wxT("wxSoundAiff codec");
 }
 
 bool wxSoundAiff::CanRead()
 }
 
 bool wxSoundAiff::CanRead()
@@ -117,6 +117,7 @@ bool wxSoundAiff::PrepareToPlay()
     // "FORM"
     
     len = data.Read32(); 
     // "FORM"
     
     len = data.Read32(); 
+    wxUnusedVar(len);
     FAIL_WITH(m_input->LastRead() != 4, wxSOUND_INVSTRM);
     // dummy len
     
     FAIL_WITH(m_input->LastRead() != 4, wxSOUND_INVSTRM);
     // dummy len
     
@@ -175,7 +176,7 @@ bool wxSoundAiff::PrepareToPlay()
     return TRUE;
 }
 
     return TRUE;
 }
 
-bool wxSoundAiff::PrepareToRecord(wxUint32 time)
+bool wxSoundAiff::PrepareToRecord(wxUint32 WXUNUSED(time))
 {
     // TODO
     return FALSE;
 {
     // TODO
     return FALSE;
@@ -187,7 +188,7 @@ bool wxSoundAiff::FinishRecording()
     return FALSE;
 }
 
     return FALSE;
 }
 
-bool wxSoundAiff::RepositionStream(wxUint32 position)
+bool wxSoundAiff::RepositionStream(wxUint32 WXUNUSED(position))
 {
     // If the stream is not seekable "TellI() returns wxInvalidOffset" we cannot reposition stream
     if (m_base_offset == wxInvalidOffset)
 {
     // If the stream is not seekable "TellI() returns wxInvalidOffset" we cannot reposition stream
     if (m_base_offset == wxInvalidOffset)