* Stream: update in doc, fix in code.
* wxMMedia: various fixes, WAV and AIFF should work on Linux, preparing it for Windows. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -85,7 +85,7 @@ void wxMMediaFile::SetFile(wxInputStream& str, bool preload, bool seekable)
|
||||
m_o_temp = new wxOutputStream(streamb);
|
||||
m_i_temp = new wxInputStream(streamb);
|
||||
|
||||
m_o_temp->Write(is);
|
||||
m_o_temp->Write(str);
|
||||
streamb->ResetBuffer();
|
||||
}
|
||||
}
|
||||
@@ -116,7 +116,7 @@ void wxMMediaFile::CleanUpPrevious()
|
||||
if (m_ostream)
|
||||
m_ostream->Write(*m_i_temp);
|
||||
|
||||
delete m_i_temp->StreamBuffer();
|
||||
delete (m_i_temp->InputStreamBuffer());
|
||||
delete m_i_temp;
|
||||
delete m_o_temp;
|
||||
|
||||
|
Reference in New Issue
Block a user