X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92a19c2e7757ba742846f83e56356de0a607bdc2..1721a8c028d3b6a553634c632117fbfac102a30e:/contrib/src/mmedia/sndg72x.cpp diff --git a/contrib/src/mmedia/sndg72x.cpp b/contrib/src/mmedia/sndg72x.cpp index f9ce3ca810..46e502bc22 100644 --- a/contrib/src/mmedia/sndg72x.cpp +++ b/contrib/src/mmedia/sndg72x.cpp @@ -4,6 +4,7 @@ // Date: 08/26/1999 // Author: Guilhem Lavaux (C) 1999 // CVSID: $Id$ +// wxWindows licence // -------------------------------------------------------------------------- #ifdef __GNUG__ #pragma implementation "sndg72x.cpp" @@ -104,7 +105,7 @@ bool wxSoundFormatG72X::operator !=(const wxSoundFormatBase& frmt2) const wxSoundFormatG72X *g72x = (wxSoundFormatG72X *)&frmt2; if (frmt2.GetType() != wxSOUND_G72X) - return TRUE; + return true; return (g72x->m_srate != m_srate || g72x->m_g72x_type != m_g72x_type); } @@ -196,7 +197,7 @@ bool wxSoundStreamG72X::SetSoundFormat(const wxSoundFormatBase& format) { if (format.GetType() != wxSOUND_G72X) { m_snderror = wxSOUND_INVFRMT; - return FALSE; + return false; } wxSoundFormatPcm pcm; @@ -210,7 +211,7 @@ bool wxSoundStreamG72X::SetSoundFormat(const wxSoundFormatBase& format) pcm.SetSampleRate(g72x->GetSampleRate()); pcm.SetBPS(16); pcm.SetChannels(1); // Only mono supported - pcm.Signed(TRUE); + pcm.Signed(true); pcm.SetOrder(wxBYTE_ORDER); // Look for the correct codec to use and set its bit width @@ -235,7 +236,7 @@ bool wxSoundStreamG72X::SetSoundFormat(const wxSoundFormatBase& format) // Let the router finish the work m_router->SetSoundFormat(pcm); - return TRUE; + return true; } #define BYTE_SIZE 8