core: LPCM is supposed to be in big endian
authorLuis de Bethencourt <luis@debethencourt.com>
Thu, 17 Mar 2011 14:14:19 +0000 (15:14 +0100)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 11 Apr 2011 13:30:28 +0000 (16:30 +0300)
src/rygel/rygel-l16-transcoder.vala

index 1041aee..f85120a 100644 (file)
@@ -33,7 +33,7 @@ internal class Rygel.L16Transcoder : Rygel.Transcoder {
     private const int WIDTH = 16;
     private const int DEPTH = 16;
     private const bool SIGNED = true;
-    private const int ENDIANNESS = 1234;
+    private const int ENDIANNESS = ByteOrder.BIG_ENDIAN;
 
     public L16Transcoder () {
         var mime_type = "audio/L" + L16Transcoder.WIDTH.to_string () +