wxSoundStreamWin();
~wxSoundStreamWin();
- wxSoundStream& Write(const void *buffer, size_t len);
- wxSoundStream& Read(void *buffer, size_t len);
+ wxSoundStream& Write(const void *buffer, wxUint32 len);
+ wxSoundStream& Read(void *buffer, wxUint32 len);
bool SetSoundFormat(wxSoundFormatBase& base);
void SetDuplexMode(bool on) {}
bool QueueFilled() const;
// Internal but defined as public
- void NotifyDoneBuffer(wxUint32 dev_handle);
+ void NotifyDoneBuffer(wxUint32 dev_handle, int flag);
+
+ wxUint32 GetBestSize() const { return 4096; }
protected:
wxSoundInternal *m_internal;
wxUint32 m_input_frag_in, m_output_frag_out;
wxSoundInfoHeader **m_headers_play, **m_headers_rec;
- bool m_production_started, m_queue_filled;
+ bool m_production_started, m_queue_filled, m_waiting_for;
protected:
void CreateSndWindow();