ext/alsa/gstalsaplugin.c (plugin_init): We are primary audio sinks.
Original commit message from CVS: 2005-07-29 Andy Wingo <wingo@pobox.com> * ext/alsa/gstalsaplugin.c (plugin_init): We are primary audio sinks. * ext/alsa/gstalsasink.c (alsasink_sink_factory): Advertise our support of both endiannesses.
This commit is contained in:
parent
7679fe45fb
commit
708deec535
@ -1,3 +1,11 @@
|
||||
2005-07-29 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* ext/alsa/gstalsaplugin.c (plugin_init): We are primary audio
|
||||
sinks.
|
||||
|
||||
* ext/alsa/gstalsasink.c (alsasink_sink_factory): Advertise our
|
||||
support of both endiannesses.
|
||||
|
||||
2005-07-28 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
|
||||
|
@ -61,10 +61,10 @@ plugin_init (GstPlugin * plugin)
|
||||
GST_TYPE_ALSA_MIXER))
|
||||
return FALSE;
|
||||
*/
|
||||
if (!gst_element_register (plugin, "alsasrc", GST_RANK_NONE,
|
||||
if (!gst_element_register (plugin, "alsasrc", GST_RANK_PRIMARY,
|
||||
GST_TYPE_ALSA_SRC))
|
||||
return FALSE;
|
||||
if (!gst_element_register (plugin, "alsasink", GST_RANK_NONE,
|
||||
if (!gst_element_register (plugin, "alsasink", GST_RANK_PRIMARY,
|
||||
GST_TYPE_ALSA_SINK))
|
||||
return FALSE;
|
||||
|
||||
|
@ -76,9 +76,12 @@ static GstStaticPadTemplate alsasink_sink_factory =
|
||||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-raw-int, "
|
||||
//"endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
|
||||
#if (G_BYTE_ORDER == G_LITTLE_ENDIAN)
|
||||
"endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
|
||||
#else
|
||||
"endianness = (int) { BIG_ENDIAN, LITTLE_ENDIAN }, "
|
||||
#endif
|
||||
//"signed = (boolean) { TRUE, FALSE }, "
|
||||
"endianness = (int) LITTLE_ENDIAN, "
|
||||
"signed = (boolean) TRUE, "
|
||||
"width = (int) 16, "
|
||||
"depth = (int) 16, "
|
||||
|
Loading…
x
Reference in New Issue
Block a user