From 7eb75b4f355fe77f68cd1d1ea806e2a18960abde Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Sat, 12 Apr 2008 23:44:18 +0000 Subject: [MOVED FROM GST-P-FARSIGHT] Fix byte ordering issues with dtmfsrc and rtpdtmfdepay.. use of G_STRINGIFY to avoid error on MSVC 20080412234418-4f0f6-4828d1613dfcd564afd236dfc8fb57a299092f83.gz --- gst/dtmf/gstdtmfsrc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gst/dtmf/gstdtmfsrc.c') diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index 71e5dbb9..38470a00 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -225,11 +225,7 @@ GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS ("audio/x-raw-int, " "width = (int) 16, " "depth = (int) 16, " -#if G_BYTE_ORDER == G_LITTLE_ENDIAN - "endianness = (int) 1234, " -#else - "endianness = (int) 4321, " -#endif + "endianness = (int) " G_STRINGIFY (G_BYTE_ORDER) ", " "signed = (bool) true, " "rate = (int) 8000, " "channels = (int) 1") -- cgit v1.2.1