* Fixes (WAV works on Linux, AIFF following)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,10 +38,8 @@ wxSoundDataFormat wxSoundPcmCodec::GetPreferredFormat(int codec) const
|
||||
|
||||
void wxSoundPcmCodec::Decode()
|
||||
{
|
||||
InitMode(DECODING);
|
||||
if (m_io_format == m_orig_format) {
|
||||
CopyToOutput();
|
||||
ExitMode();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -58,7 +56,6 @@ void wxSoundPcmCodec::Decode()
|
||||
default:
|
||||
break;
|
||||
}
|
||||
ExitMode();
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
@@ -179,10 +176,8 @@ void wxSoundPcmCodec::OutputSwapAndSign16()
|
||||
|
||||
void wxSoundPcmCodec::Encode()
|
||||
{
|
||||
InitMode(ENCODING);
|
||||
if (m_io_format == m_orig_format) {
|
||||
CopyToOutput();
|
||||
ExitMode();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -199,5 +194,4 @@ void wxSoundPcmCodec::Encode()
|
||||
default:
|
||||
break;
|
||||
}
|
||||
ExitMode();
|
||||
}
|
||||
|
Reference in New Issue
Block a user