]>
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 ////////////////////////////////////////////////////////////////////////////////
10 #include "wx/wxprec.h"
27 #if defined(__X__) || defined(__WXGTK__)
40 // #include "midfile.h"
46 IMPLEMENT_ABSTRACT_CLASS(wxSound
, wxObject
)
47 IMPLEMENT_ABSTRACT_CLASS(wxSndBuffer
, wxObject
)
48 IMPLEMENT_DYNAMIC_CLASS(wxSndSimpleBuffer
, wxSndBuffer
)
50 IMPLEMENT_ABSTRACT_CLASS(wxSoundCodec
, wxObject
)
51 IMPLEMENT_DYNAMIC_CLASS(wxSoundPcmCodec
, wxSoundCodec
)
52 IMPLEMENT_DYNAMIC_CLASS(wxSoundMulawCodec
, wxSoundCodec
)
55 IMPLEMENT_DYNAMIC_CLASS(wxUssSound
, wxSound
)
58 IMPLEMENT_DYNAMIC_CLASS(wxWinSound
, wxSound
)
61 IMPLEMENT_ABSTRACT_CLASS(wxSndFileCodec
, wxMMediaFile
)
62 IMPLEMENT_DYNAMIC_CLASS(wxSndWavCodec
, wxSndFileCodec
)
63 IMPLEMENT_DYNAMIC_CLASS(wxSndAuCodec
, wxSndFileCodec
)
64 IMPLEMENT_DYNAMIC_CLASS(wxSndAiffCodec
, wxSndFileCodec
)
66 IMPLEMENT_ABSTRACT_CLASS(wxVideoBaseDriver
, wxMMediaFile
)
67 IMPLEMENT_DYNAMIC_CLASS(wxVideoOutput
, wxWindow
)
68 #if defined(__X__) || defined(__WXGTK__)
69 // IMPLEMENT_DYNAMIC_CLASS(wxVideoXANIM, wxVideoBaseDriver)
72 IMPLEMENT_DYNAMIC_CLASS(wxVideoWindows
, wxVideoBaseDriver
)
75 IMPLEMENT_ABSTRACT_CLASS(wxCDAudio
, wxObject
)
77 IMPLEMENT_DYNAMIC_CLASS(wxCDAudioLinux
, wxCDAudio
)
79 IMPLEMENT_DYNAMIC_CLASS(wxCDAudioWin
, wxCDAudio
)
82 // IMPLEMENT_ABSTRACT_CLASS(wxMidiFile, wxObject)
84 wxMediaFileSolve::wxMFileList
*wxMediaFileSolve::m_first
= NULL
;
85 wxUint8
wxMediaFileSolve::m_devnum
= 0;
87 MMD_REGISTER_FILE("audio/x-wav", "Wav Player", wxSndWavCodec
, "wav")
88 MMD_REGISTER_FILE("audio/x-aiff", "Aiff Player", wxSndAiffCodec
, "aif")
89 MMD_REGISTER_FILE("audio/x-au", "Sun Audio File Player", wxSndAuCodec
, "au")
90 #if defined(__X__) || defined(__WXGTK__)
91 // MMD_REGISTER_FILE("video/*", "Video Player", wxVideoXANIM, "mov")
93 MMD_REGISTER_FILE("video/avi", "AVI Player", wxVideoWindows
, "avi")