]> git.saurik.com Git - wxWidgets.git/blob - utils/wxMMedia2/sample/test_med5.cpp
Some other mini test I used for wxmedia2
[wxWidgets.git] / utils / wxMMedia2 / sample / test_med5.cpp
1 // --------------------------------------------------------------------------
2 // Name: test_med.cpp
3 // Purpose:
4 // Date: 08/11/1999
5 // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
6 // CVSID: $Id$
7 // --------------------------------------------------------------------------
8 #include <wx/app.h>
9 #include <wx/wfstream.h>
10 #include <wx/frame.h>
11 #include "../lib/cdunix.h"
12
13 class MyApp: public wxApp {
14 bool OnInit() {
15 wxCDAudioLinux m_cd;
16
17 m_cd.Play(m_cd.GetToc().GetTrackTime(0),m_cd.GetToc().GetTrackTime(1));
18 return TRUE;
19 }
20 };
21
22 IMPLEMENT_APP(MyApp)