* Fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -106,9 +106,11 @@ void wxSoundDataFormat::CodecChange()
|
||||
case WXSOUND_PCM: {
|
||||
wxSoundPcmCodec *pcm_codec = (wxSoundPcmCodec *)codec;
|
||||
|
||||
pcm_codec->SetBits(m_bps);
|
||||
pcm_codec->SetByteOrder(m_byteorder);
|
||||
pcm_codec->SetSign(m_sign);
|
||||
pcm_codec->m_orig_format.SetSampleRate(m_srate);
|
||||
pcm_codec->m_orig_format.SetBps(m_bps);
|
||||
pcm_codec->m_orig_format.SetChannels(m_channels);
|
||||
pcm_codec->m_orig_format.SetByteOrder(m_byteorder);
|
||||
pcm_codec->m_orig_format.SetSign(m_sign);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Reference in New Issue
Block a user