Jerry Tan <Jerry.Tan at Sun.COM> wrote:
> bug 7296, [nevada] sound juicer outputs static noise when playing audio cd
>
> it can be reproduced on solaris sparc only.
>
>
> Because it calls "cdda2wav --output-endianess=little" on solaris sparc,
> which caused this bug.
>
>
> this patch will remove it.
If I did not miss something, you completely removed the
--output-endianess=little option, this will cause it to fail on Intel hardware.
Cdda2wav by default always outputs data in network byte order.
If you request raw audio data, it is a good idea to write interfaces the same
way and convert byte order lately before it is send to the driver (in case the
driver is not able to do this abstraction from machine byte order).
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily