]>
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
, size_t len
);
29 wxSoundStream
& Write(const void *buffer
, size_t len
);
31 bool SetSoundFormat(const wxSoundFormatBase
& format
);
33 bool StartProduction(int evt
);
34 bool StopProduction();
36 void SetDuplexMode(bool duplex
) {}
38 // You should not call this.
39 void WakeUpEvt(int evt
);
47 void DetectBest(wxSoundFormatPcm
*pcm
);