[MPlayer-dev-eng] [PATCH] cddb://

Bertrand Baudet bertrand_baudet at yahoo.com
Wed Jan 15 15:06:15 CET 2003


On Wednesday 15 January 2003 01:02 am, Frederick Bruckman wrote:
> On Tue, 14 Jan 2003, Bertrand Baudet wrote:
> > I finally made the patch to get rid of the hardcoded cdrom device.
> >
> > It works for linux but I have no idea if it broke something
> > on the *BSD systems.
> >
> > Please people with FreeBSD, OpenBSD and NetBSD
> > test and report.
>
> Works for me on NetBSD. In the same spirit, here's a patch to remove
> the hardcoded device in cdda.c (on NetBSD), that I introduced in an
> earlier submission.

Thanks,

I have a question before applying:
How do you use mplayer to play CD audio?

mplayer cdda://      ?
or
mplayer -cdda:generic-dev /dev/mycdrom cdda://		?

By removing the lines:

+#if defined(__NetBSD__) 
+  generic_dev = dev; 
+#endif 

You should be able to play a CD audio by using:

mplayer -cdrom-device /dev/mycdrom cdda://

I don't really understand why you need to do a

generic_dev = dev;

Thanks for answering,

Bertrand


More information about the MPlayer-dev-eng mailing list