wxWidgets/utils/wxMMedia2/sample/test_med5.cpp
Guilhem Lavaux a5f4a1bdc8 Some other mini test I used for wxmedia2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 15:13:57 +00:00

23 lines
564 B
C++

// --------------------------------------------------------------------------
// Name: test_med.cpp
// Purpose:
// Date: 08/11/1999
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
// CVSID: $Id$
// --------------------------------------------------------------------------
#include <wx/app.h>
#include <wx/wfstream.h>
#include <wx/frame.h>
#include "../lib/cdunix.h"
class MyApp: public wxApp {
bool OnInit() {
wxCDAudioLinux m_cd;
m_cd.Play(m_cd.GetToc().GetTrackTime(0),m_cd.GetToc().GetTrackTime(1));
return TRUE;
}
};
IMPLEMENT_APP(MyApp)