* 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:
Guilhem Lavaux
1999-02-14 17:46:47 +00:00
parent 20239453d5
commit 9fc0fe377b
10 changed files with 109 additions and 85 deletions

View File

@@ -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;