Not able connect to alsa sink

vijay pvijaii at gmail.com
Mon Jul 25 08:32:49 PDT 2011


Hi,
I am writing a decoder plugin for mp3 decoder, when i am try to connect to
alsasink,i am getting error as,

ERROR: from element /GstPipeline:pipeline0/GstAlsa
Sink:alsasink0: The stream is in the wrong format.
Additional debug info:
gstbaseaudiosink.c(929): gst_base_audio_sink_preroll ():
/GstPipeline:pipeline0/GstAlsaSink:alsasink0:
sink not negotiated.
ERROR: pipeline doesn't want to preroll.

I have set the capabilities as,

static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
  GST_PAD_SRC,
  GST_PAD_ALWAYS,
  GST_STATIC_CAPS ( "audio/x-raw-int, "
  "rate = (int) [ 1, MAX ], "
  "channels = (int) [ 1, MAX ], "
  "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
  "width = (int) 16, "
  "depth = (int) [ 1, 16 ], "
  "signed = (boolean) { true, false }")
  );

Regards,
Vijay P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110725/204d7d60/attachment.htm>


More information about the gstreamer-devel mailing list