mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
[MOVED FROM GST-P-FARSIGHT] dtmfsrc: Correctly set the endianess in the caps to the machines endianess
20080216134140-93b9a-40a3a9d7ac1679c5e0dfd24a6b91e4aba6cc6496.gz
This commit is contained in:
parent
8780522c5d
commit
5ae478a644
1 changed files with 4 additions and 0 deletions
|
@ -225,7 +225,11 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_STATIC_CAPS ("audio/x-raw-int, "
|
GST_STATIC_CAPS ("audio/x-raw-int, "
|
||||||
"width = (int) 16, "
|
"width = (int) 16, "
|
||||||
"depth = (int) 16, "
|
"depth = (int) 16, "
|
||||||
|
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
||||||
"endianness = (int) 1234, "
|
"endianness = (int) 1234, "
|
||||||
|
#else
|
||||||
|
"endianness = (int) 4321, "
|
||||||
|
#endif
|
||||||
"signed = (bool) true, "
|
"signed = (bool) true, "
|
||||||
"rate = (int) 8000, "
|
"rate = (int) 8000, "
|
||||||
"channels = (int) 1")
|
"channels = (int) 1")
|
||||||
|
|
Loading…
Reference in a new issue