1 // ---------------------------------------------------------------------------
4 // Author: Guilhem Lavaux
7 // Copyright: (C) 1997, 1998, 1999, 2000 Guilhem Lavaux
8 // License: wxWindows license
9 // ---------------------------------------------------------------------------
14 #include "wx/object.h"
15 #include "wx/string.h"
16 #include "wx/mmedia/defs.h"
17 #include "wx/mmedia/cdbase.h"
20 class WXDLLIMPEXP_MMEDIA wxCDAudioLinux
: public wxCDAudio
{
21 DECLARE_DYNAMIC_CLASS(wxCDAudioLinux
)
27 wxCDtime
*m_trksize
, *m_trkpos
;
32 wxCDAudioLinux(const wxString
& dev_name
);
34 virtual ~wxCDAudioLinux();
37 virtual bool Play(const wxCDtime
& beg_time
, const wxCDtime
& end_time
);
41 virtual bool Resume();
43 virtual CDstatus
GetStatus();
45 virtual wxCDtime
GetTime();
47 virtual CDtoc
& GetToc();
49 virtual inline bool Ok() const { return (m_fd
!= -1); }
52 void OpenDevice(const wxString
& dev_name
);