Re: CDIOCREADAUDIO ?

From: Max Khon <fjoe_at_samodelkin.net>
Date: Wed, 7 Apr 2004 13:34:58 +0700
Hello!

On Tue, Apr 06, 2004 at 07:06:51PM -0400, Daniel Eischen wrote:

> So a few months ago, sos removed CDIOCREADAUDIO from <sys/cdio.h>.
> Now that I'm porting the latest xmcd, it wants to use that
> command.  Why was it removed and what is its replacement?

There was another method for reading audio data:
reading /dev/acd0[c] directly (e.g. using pread(2)).

Look at ports/audio/cdparanoia/files/patch-interface-cooked_interface.c.
Please note that this patch uses #ifdef's but it is not necessary because
using pread works perfectly in RELENG_4 (an dmaybe earlier, I did not check).

Regards,

/fjoe
Received on Tue Apr 06 2004 - 21:35:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:50 UTC