gstaudiopack.orc: pack_u32be_swap: actually swap
authorMathieu Duponchelle <mathieu@centricular.com>
Thu, 15 Feb 2018 00:14:52 +0000 (01:14 +0100)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 15 Feb 2018 00:32:54 +0000 (01:32 +0100)
Fixes:

gst-launch-1.0 audiotestsrc ! audio/x-raw, format=U32BE ! \
audioconvert ! autoaudiosink

gst-libs/gst/audio/gstaudiopack.orc

index c13a688..2b7d963 100644 (file)
@@ -326,8 +326,10 @@ copyl d1, s1
 .dest 4 d1 guint8
 .source 4 s1 gint32
 .const 4 c1 0x80000000
+.temp 4 t1
 
-xorl d1, s1, c1
+xorl t1, s1, c1
+swapl d1, t1
 
 
 .function audio_orc_pack_s32_swap