[rygel] core: LPCM is supposed to be in big endian



commit 447aeb0a2678b62eb56b5226ab1bcdb49d1665bc
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Thu Mar 17 15:14:19 2011 +0100

    core: LPCM is supposed to be in big endian

 src/rygel/rygel-l16-transcoder.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-l16-transcoder.vala b/src/rygel/rygel-l16-transcoder.vala
index 1041aee..f85120a 100644
--- a/src/rygel/rygel-l16-transcoder.vala
+++ b/src/rygel/rygel-l16-transcoder.vala
@@ -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 () +



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]