[MPlayer-dev-eng] [PATCH] port libmpdemux/cddb.c to Darwin

Jordan Webb coldguy at gmail.com
Fri Dec 24 13:49:16 CET 2004


This patch implements the read_toc function in libmpdemux/cddb.c
for Darwin and MacOS X.  After making these changes I was able to
build MPlayer with cdparanoia support and play CD audio on my Mac
running OS X 10.3.7.  The patch is heavily based on the code for
FreeBSD in the same file and libmpdemux/vcd_read_darwin.h.

It is far from perfect; in order to play a CD you must unmount
the device manually, which makes the Finder whine, and the audio
pauses every couple of seconds.  I tried enabling the cache but
it causes an endless loop of this error message:

ExecuteTaskSync: 10000003
scsi_read error: sector=156 length=1 retry=4
                  Sense key: 0 ASC: 0 ASCQ: 0
                  Transport error: Unspecified error
                  System error: Invalid argument

Howerver, I think these might be problems with my installation of
cdparanoia rather than MPlayer or anything in the patch.

--
Jordan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-darwin-cddb.diff
Type: application/octet-stream
Size: 2488 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041224/7c544296/attachment.obj>


More information about the MPlayer-dev-eng mailing list