* Added wxMMedia in the repository so people interrested in it can work on it

* WARNING! It is quite unstable on Windows and it doesn't work on Linux for
  the moment because I didn't finish fixing the CODEC stream.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1998-11-09 18:37:38 +00:00
parent ea57084d10
commit 4d6306eb4d
54 changed files with 7666 additions and 0 deletions

28
utils/wxMMedia/sndmulaw.h Normal file
View File

@@ -0,0 +1,28 @@
#ifndef __MEDIA_SNDMULAW_H__
#define __MEDIA_SNDMULAW_H__
#ifdef __GNUG__
#pragma interface
#endif
#include "sndfrmt.h"
class wxSoundMulawCodec : public wxSoundCodec {
DECLARE_DYNAMIC_CLASS(wxSoundMulawCodec)
public:
wxSoundMulawCodec();
virtual ~wxSoundMulawCodec();
void SetSampleRate(int srate) { m_srate = srate; }
size_t GetByteRate() const;
wxSoundDataFormat GetPreferredFormat(int codec = 0) const;
void Decode();
void Encode();
protected:
int m_srate;
};
#endif