#pragma hdrstop
#endif
+#if HAVE_KNOWN_CDROM_INTERFACE
+
// ---------------------------------------------------------------------------
// MMedia headers
// ---------------------------------------------------------------------------
wxCDAudioLinux::wxCDAudioLinux()
: wxCDAudio(), m_fd(-1)
{
- OpenDevice("/dev/cdrom");
+ OpenDevice(wxT("/dev/cdrom"));
}
wxCDAudioLinux::wxCDAudioLinux(const wxString& dev_name)
struct cdrom_tocentry entry, old_entry;
struct cdrom_tochdr diskinf;
struct cdrom_msf0 *msf = &entry.cdte_addr.msf,
- *old_msf = &old_entry.cdte_addr.msf;
+ *old_msf = &old_entry.cdte_addr.msf;
wxCDtime *the_track;
wxCDtime tot_tm;
wxUint8 nb_tracks, i;
{
return *m_toc;
}
+
+#endif