Commit 708deec5 authored by Andy Wingo Wingo's avatar Andy Wingo Wingo
Browse files

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.
parent 7679fe45
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, "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment