Max Khon fjoe at
Tue Apr 6 23:35:48 PDT 2004


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).



More information about the freebsd-current mailing list