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);
// 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);