* Added IsPaused() to wxSoundFileStream
* Play/Pause/Resume should work in wxMMBoard git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -121,7 +121,7 @@ wxSoundStream& wxSoundStreamPcm::Write(const void *buffer, wxUint32 len)
|
||||
len2 = (m_16_to_8) ? len / 2 : len;
|
||||
|
||||
tmp_buf = new char[len2];
|
||||
m_function_out((const char *)buffer, tmp_buf, len);
|
||||
m_function_out((const char *)buffer, tmp_buf, len2);
|
||||
m_sndio->Write(tmp_buf, len);
|
||||
delete[] tmp_buf;
|
||||
|
||||
|
Reference in New Issue
Block a user