[gstreamer-bugs] [Bug 377280] [cdiocddasrc] issue if drive endianness != machine endianness

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Dec 12 03:24:31 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=377280

  GStreamer | gst-plugins-good | Ver: 0.10.4





------- Comment #22 from rocky at panix.com  2006-12-12 11:23 UTC -------
Are you sure that the cdda2wav code cited is the *only* part that determines
endianness? cdparanoia has code like this but it has other more general code as
well.

What cdparanoia also does is read the beginning audio tracks (recall that this
is *only* a problem with Philips Red book or CD audio). From that it looks for
the least "noise", trying both byte-order interpretations. Noise is determined
by wild oscillations of the data -- if one were view the sound on an
oscilloscope, the sound noise would have lots of short large spikes; "normal"
sound oscillations would be smaller and smoother. And complete silence would be
more or less a straight horizontal line. In libcdio the code for this is in
lib/cdda_interface/common_interface.c in routine data_bigendianp. But in
reality this code comes directly from cdparanoia. 


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list