wxSoundStreamOSS(const wxString& dev_name = _T("/dev/dsp"));
~wxSoundStreamOSS();
- 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);
wxUint32 GetBestSize() const;
bool SetSoundFormat(const wxSoundFormatBase& format);
bool StopProduction();
void SetDuplexMode(bool duplex) {}
+ bool QueueFilled() const;
// You should not call this.
void WakeUpEvt(int evt);
int m_fd;
wxUint32 m_bufsize;
int m_tag;
- bool m_oss_stop;
+ bool m_oss_stop, m_q_filled;
wxString m_devname;
private: