GNOME Bugzilla – Bug 111692
[0.6.2 candidate] Fix wavparse
Last modified: 2004-12-22 21:47:04 UTC
Wavparse doesn't byteswap the data for bigendian machines. It also gives a property that only allows LITTLE_ENDIAN, but this effectively kills wavparse on big endian machines (i.e. it's useless). Attached patch fixes this.
Created attachment 16046 [details] [review] patch
Oh, this will break if there's mp3 audio in the wav file - I don't know wavparse detects that... It'd be another if statement in gst_wavparse_push().
Created attachment 16047 [details] [review] updated patch to only handle PCM
Created attachment 16048 [details] [review] use GUINT16_FROM_LE()
Created attachment 16049 [details] [review] fix last floating G_LITTLE_ENDIAN (oops)
Created attachment 16050 [details] example wav file that BE machines don't like
Created attachment 16053 [details] [review] s/guint16/gint16/
Created attachment 16055 [details] [review] Company's code added
Created attachment 16056 [details] [review] more company finetuning
Created attachment 16057 [details] [review] add timestamping
Fixed.