git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5d3e7b52d8
commit
b7ecdec5aa
@ -119,7 +119,8 @@ wxSoundStream& wxSoundStreamESD::Read(void *buffer, wxUint32 len)
|
||||
return *this;
|
||||
}
|
||||
|
||||
m_lastcount = (wxUint32)ret = read(m_fd_input, buffer, len);
|
||||
ret = read(m_fd_input, buffer, len);
|
||||
m_lastcount = (wxUint32)ret;
|
||||
|
||||
if (ret < 0)
|
||||
m_snderror = wxSOUND_IOERROR;
|
||||
@ -147,7 +148,8 @@ wxSoundStream& wxSoundStreamESD::Write(const void *buffer, wxUint32 len)
|
||||
return *this;
|
||||
}
|
||||
|
||||
m_lastcount = (wxUint32)ret = write(m_fd_output, buffer, len);
|
||||
ret = write(m_fd_output, buffer, len);
|
||||
m_lastcount = (wxUint32)ret;
|
||||
|
||||
if (ret < 0)
|
||||
m_snderror = wxSOUND_IOERROR;
|
||||
|
@ -85,7 +85,8 @@ wxSoundStream& wxSoundStreamOSS::Read(void *buffer, wxUint32 len)
|
||||
return *this;
|
||||
}
|
||||
|
||||
m_lastcount = (wxUint32)ret = read(m_fd, buffer, len);
|
||||
ret = read(m_fd, buffer, len);
|
||||
m_lastcount = (wxUint32)ret;
|
||||
m_q_filled = true;
|
||||
|
||||
if (ret < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user