Ticket #4270: mythmusic.patch
File mythmusic.patch, 1.6 KB (added by , 16 years ago) |
---|
-
mythmusic/mythmusic/mythmusic.pro
74 74 75 75 HEADERS -= cdrip.h importmusic.h 76 76 SOURCES -= cdrip.cpp importmusic.cpp cddecoder.cpp 77 SOURCES += cddecoder-windows.cpp 77 78 78 79 LIBS += -logg 79 80 } -
mythmusic/mythmusic/cddecoder-windows.cpp
38 38 return true; 39 39 } 40 40 41 /**42 * Lookup FreeDB/CDDB, populate m_mData with results43 */44 void CdDecoder::lookupCDDB(const QString &hexID, uint totalTracks)45 {46 }47 48 double CdDecoder::lengthInSeconds()49 {50 return m_lengthInSecs;51 }52 53 41 void CdDecoder::seek(double pos) 54 42 { 55 43 (void)pos; -
mythmusic/mythmusic/cddecoder.h
7 7 8 8 #ifdef CONFIG_DARWIN 9 9 #include <vector> 10 #el se10 #elif !defined(_WIN32) 11 11 #include <cdaudio.h> 12 12 extern "C" { 13 13 #include <cdda_interface.h> … … 62 62 double m_lengthInSecs; 63 63 vector<int> m_tracks; ///< Start block offset of each track 64 64 vector<Metadata*> m_mData; ///< After lookup, details of each trk 65 #el se65 #elif !defined(_WIN32) 66 66 int stat; 67 67 char *output_buf; 68 68 ulong output_bytes, output_at;