Commit 81a09fc4 authored by Wim Taymans's avatar Wim Taymans
Browse files

ext/alsa/gstalsasink.c: Also allow unsigned int.

Original commit message from CVS:
* ext/alsa/gstalsasink.c:
Also allow unsigned int.

* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create), (gst_base_audio_src_change_state):
Small cleanup
parent 156264e9
2005-10-10 Wim Taymans <wim@fluendo.com>
* ext/alsa/gstalsasink.c:
Also allow unsigned int.
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create), (gst_base_audio_src_change_state):
Small cleanup
2005-10-10 Wim Taymans <wim@fluendo.com>
 
* check/pipelines/simple_launch_lines.c: (run_pipeline):
......
......@@ -84,8 +84,7 @@ static GstStaticPadTemplate alsasink_sink_factory =
#else
"endianness = (int) { BIG_ENDIAN, LITTLE_ENDIAN }, "
#endif
//"signed = (boolean) { TRUE, FALSE }, "
"signed = (boolean) TRUE, "
"signed = (boolean) { TRUE, FALSE }, "
"width = (int) 16, "
"depth = (int) 16, "
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]; "
......
......@@ -413,7 +413,7 @@ gst_base_audio_src_change_state (GstElement * element,
break;
case GST_STATE_CHANGE_READY_TO_NULL:
gst_ring_buffer_close_device (src->ringbuffer);
gst_object_unref (GST_OBJECT (src->ringbuffer));
gst_object_unref (src->ringbuffer);
src->ringbuffer = NULL;
break;
default:
......
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