]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxMMedia2/lib/sndesd.h
1 // --------------------------------------------------------------------------
5 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
7 // --------------------------------------------------------------------------
12 #pragma interface "sndesd.h"
15 #include <wx/string.h>
23 class wxSoundStreamESD
: public wxSoundStream
{
25 wxSoundStreamESD(const wxString
& hostname
= _T("localhost"));
28 wxSoundStream
& Read(void *buffer
, wxUint32 len
);
29 wxSoundStream
& Write(const void *buffer
, wxUint32 len
);
31 bool SetSoundFormat(const wxSoundFormatBase
& format
);
33 bool StartProduction(int evt
);
34 bool StopProduction();
36 // You should not call this.
37 void WakeUpEvt(int evt
);
39 bool QueueFilled() const { return m_q_filled
; }
41 int m_fd_input
, m_fd_output
;
42 int m_tag_input
, m_tag_output
;
48 void DetectBest(wxSoundFormatPcm
*pcm
);