]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxMMedia2/lib/sndesd.h
added support for several new events in wxCalendarCtrl: clicking on week
[wxWidgets.git] / utils / wxMMedia2 / lib / sndesd.h
index 56e44f88d222d0dbc4952c63e73225b371cc7a69..5484f9dc3740ad5579da0eaffa2df99744a1eeb9 100644 (file)
@@ -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);