After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 424527 - [auparse] don't convert non-native endianness floats in the element
[auparse] don't convert non-native endianness floats in the element
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: 0.10.6
Assigned To: Sebastian Dröge (slomo)
GStreamer Maintainers
Depends on: 339838
Blocks:
 
 
Reported: 2007-03-30 16:01 UTC by Sebastian Dröge (slomo)
Modified: 2007-05-21 09:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
auparse.diff (2.96 KB, patch)
2007-03-30 16:02 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2007-03-30 16:01:50 UTC
+++ This bug was initially created as a clone of Bug #339838 +++

Audioconvert currently doesn't handle audio/x-raw-float with an endianness other than the native one.

At least the input side should have support for both little and big endianness IMHO.

Sample file (big endian content, try to play back on little endian system):
http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/AU/Samples/AFsp/M1F1-float32-AFsp.au

Currently this works only because auparse does the endianness swapping itself, which is more of a hack.
Comment 1 Sebastian Dröge (slomo) 2007-03-30 16:02:55 UTC
Created attachment 85567 [details] [review]
auparse.diff

This should be committed after next plugins-good release...
Patch is by René Stadler <mail at renestadler dot de>
Comment 2 Sebastian Dröge (slomo) 2007-05-21 09:33:35 UTC
Committed...

2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
	
	Patch by: René Stadler <mail at renestadler dot de>

	* configure.ac:
	* gst/auparse/gstauparse.c: (gst_au_parse_reset),
	(gst_au_parse_parse_header), (gst_au_parse_chain):
	* gst/auparse/gstauparse.h:
	Use audioconvert for converting from non-native endianness floats
	in auparse instead of doing it ourself. Fixes #424527.
	This needs the audioconvert from plugins-base CVS.