[rygel] core: LPCM is supposed to be in big endian
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: LPCM is supposed to be in big endian
- Date: Mon, 11 Apr 2011 13:33:59 +0000 (UTC)
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]