X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526ddb13e289be62ee1926c265138c0dea36fa56..0185cd097844887c308a81fbd137676086ae8580:/utils/wxMMedia2/lib/sndesd.h diff --git a/utils/wxMMedia2/lib/sndesd.h b/utils/wxMMedia2/lib/sndesd.h index 56e44f88d2..5484f9dc37 100644 --- a/utils/wxMMedia2/lib/sndesd.h +++ b/utils/wxMMedia2/lib/sndesd.h @@ -25,8 +25,8 @@ class wxSoundStreamESD : public wxSoundStream { wxSoundStreamESD(const wxString& hostname = _T("localhost")); ~wxSoundStreamESD(); - wxSoundStream& Read(void *buffer, size_t len); - wxSoundStream& Write(const void *buffer, size_t len); + wxSoundStream& Read(void *buffer, wxUint32 len); + wxSoundStream& Write(const void *buffer, wxUint32 len); bool SetSoundFormat(const wxSoundFormatBase& format); @@ -37,11 +37,14 @@ class wxSoundStreamESD : public wxSoundStream { // You should not call this. void WakeUpEvt(int evt); + + bool QueueFilled() const { return m_q_filled; } protected: int m_fd; int m_tag; bool m_esd_stop; wxString m_hostname; + bool m_q_filled; private: void DetectBest(wxSoundFormatPcm *pcm);