]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxMMedia/mmdata.cpp
ebd196874f5a52a5b182ce03cfde3c09e2005ad1
1 ////////////////////////////////////////////////////////////////////////////////
4 // Author: Guilhem Lavaux
7 // Copyright: (C) 1997, 1998, Guilhem Lavaux
8 // License: wxWindows license
9 ////////////////////////////////////////////////////////////////////////////////
10 #include "wx/wxprec.h"
28 #if defined(__X__) || defined(__WXGTK__)
41 // #include "midfile.h"
47 IMPLEMENT_ABSTRACT_CLASS(wxSound
, wxObject
)
48 IMPLEMENT_ABSTRACT_CLASS(wxSndBuffer
, wxObject
)
49 IMPLEMENT_DYNAMIC_CLASS(wxSndSimpleBuffer
, wxSndBuffer
)
51 IMPLEMENT_ABSTRACT_CLASS(wxSoundCodec
, wxObject
)
52 IMPLEMENT_DYNAMIC_CLASS(wxSoundPcmCodec
, wxSoundCodec
)
53 IMPLEMENT_DYNAMIC_CLASS(wxSoundMulawCodec
, wxSoundCodec
)
54 IMPLEMENT_DYNAMIC_CLASS(wxSoundAdpcmCodec
, wxSoundCodec
)
57 IMPLEMENT_DYNAMIC_CLASS(wxUssSound
, wxSound
)
60 IMPLEMENT_DYNAMIC_CLASS(wxWinSound
, wxSound
)
63 IMPLEMENT_ABSTRACT_CLASS(wxSndFileCodec
, wxMMediaFile
)
64 IMPLEMENT_DYNAMIC_CLASS(wxSndWavCodec
, wxSndFileCodec
)
65 IMPLEMENT_DYNAMIC_CLASS(wxSndAuCodec
, wxSndFileCodec
)
66 IMPLEMENT_DYNAMIC_CLASS(wxSndAiffCodec
, wxSndFileCodec
)
68 IMPLEMENT_ABSTRACT_CLASS(wxVideoBaseDriver
, wxMMediaFile
)
69 IMPLEMENT_DYNAMIC_CLASS(wxVideoOutput
, wxWindow
)
70 #if defined(__X__) || defined(__WXGTK__)
71 IMPLEMENT_DYNAMIC_CLASS(wxVideoXANIM
, wxVideoBaseDriver
)
74 IMPLEMENT_DYNAMIC_CLASS(wxVideoWindows
, wxVideoBaseDriver
)
77 IMPLEMENT_ABSTRACT_CLASS(wxCDAudio
, wxObject
)
79 IMPLEMENT_DYNAMIC_CLASS(wxCDAudioLinux
, wxCDAudio
)
81 IMPLEMENT_DYNAMIC_CLASS(wxCDAudioWin
, wxCDAudio
)
84 // IMPLEMENT_ABSTRACT_CLASS(wxMidiFile, wxObject)
86 wxMediaFileSolve::wxMFileList
*wxMediaFileSolve::m_first
= NULL
;
87 wxUint8
wxMediaFileSolve::m_devnum
= 0;
89 MMD_REGISTER_FILE("audio/x-wav", "Wav Player", wxSndWavCodec
, "wav")
90 MMD_REGISTER_FILE("audio/x-aiff", "Aiff Player", wxSndAiffCodec
, "aif")
91 MMD_REGISTER_FILE("audio/x-au", "Sun Audio File Player", wxSndAuCodec
, "au")
92 #if defined(__X__) || defined(__WXGTK__)
93 MMD_REGISTER_FILE("video/*", "Video Player", wxVideoXANIM
, "mov")
95 MMD_REGISTER_FILE("video/avi", "AVI Player", wxVideoWindows
, "avi")