]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxMMedia/mmdata.cpp
1 ////////////////////////////////////////////////////////////////////////////////
4 // Author: Guilhem Lavaux
7 // Copyright: (C) 1997, 1998, Guilhem Lavaux
8 // License: wxWindows license
9 ////////////////////////////////////////////////////////////////////////////////
25 #if defined(__X__) || defined(__WXGTK__)
38 // #include "midfile.h"
44 IMPLEMENT_ABSTRACT_CLASS(wxSound
, wxObject
)
45 IMPLEMENT_ABSTRACT_CLASS(wxSndBuffer
, wxObject
)
46 IMPLEMENT_DYNAMIC_CLASS(wxSndSimpleBuffer
, wxSndBuffer
)
48 IMPLEMENT_ABSTRACT_CLASS(wxSoundCodec
, wxObject
)
49 IMPLEMENT_DYNAMIC_CLASS(wxSoundPcmCodec
, wxSoundCodec
)
50 IMPLEMENT_DYNAMIC_CLASS(wxSoundMulawCodec
, wxSoundCodec
)
53 IMPLEMENT_DYNAMIC_CLASS(wxUssSound
, wxSound
)
56 IMPLEMENT_DYNAMIC_CLASS(wxWinSound
, wxSound
)
59 IMPLEMENT_ABSTRACT_CLASS(wxSndFileCodec
, wxMMediaFile
)
60 IMPLEMENT_DYNAMIC_CLASS(wxSndWavCodec
, wxSndFileCodec
)
61 IMPLEMENT_DYNAMIC_CLASS(wxSndAuCodec
, wxSndFileCodec
)
62 IMPLEMENT_DYNAMIC_CLASS(wxSndAiffCodec
, wxSndFileCodec
)
64 IMPLEMENT_ABSTRACT_CLASS(wxVideoBaseDriver
, wxMMediaFile
)
65 IMPLEMENT_DYNAMIC_CLASS(wxVideoOutput
, wxWindow
)
66 #if defined(__X__) || defined(__WXGTK__)
67 IMPLEMENT_DYNAMIC_CLASS(wxVideoXANIM
, wxVideoBaseDriver
)
70 IMPLEMENT_DYNAMIC_CLASS(wxVideoWindows
, wxVideoBaseDriver
)
73 IMPLEMENT_ABSTRACT_CLASS(wxCDAudio
, wxObject
)
75 IMPLEMENT_DYNAMIC_CLASS(wxCDAudioLinux
, wxCDAudio
)
77 IMPLEMENT_DYNAMIC_CLASS(wxCDAudioWin
, wxCDAudio
)
80 // IMPLEMENT_ABSTRACT_CLASS(wxMidiFile, wxObject)
82 wxMediaFileSolve::wxMFileList
*wxMediaFileSolve::m_first
= NULL
;
83 wxUint8
wxMediaFileSolve::m_devnum
= 0;
85 MMD_REGISTER_FILE("audio/x-wav", "Wav Player", wxSndWavCodec
, "wav")
86 MMD_REGISTER_FILE("audio/x-aiff", "Aiff Player", wxSndAiffCodec
, "aif")
87 MMD_REGISTER_FILE("audio/x-au", "Sun Audio File Player", wxSndAuCodec
, "au")
88 #if defined(__X__) || defined(__WXGTK__)
89 MMD_REGISTER_FILE("video/*", "Video Player", wxVideoXANIM
, "mov")
91 MMD_REGISTER_FILE("video/avi", "AVI Player", wxVideoWindows
, "avi")