mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
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
This commit is contained in:
parent
156264e9c0
commit
81a09fc472
3 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
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>
|
2005-10-10 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* check/pipelines/simple_launch_lines.c: (run_pipeline):
|
* check/pipelines/simple_launch_lines.c: (run_pipeline):
|
||||||
|
|
|
@ -84,8 +84,7 @@ static GstStaticPadTemplate alsasink_sink_factory =
|
||||||
#else
|
#else
|
||||||
"endianness = (int) { BIG_ENDIAN, LITTLE_ENDIAN }, "
|
"endianness = (int) { BIG_ENDIAN, LITTLE_ENDIAN }, "
|
||||||
#endif
|
#endif
|
||||||
//"signed = (boolean) { TRUE, FALSE }, "
|
"signed = (boolean) { TRUE, FALSE }, "
|
||||||
"signed = (boolean) TRUE, "
|
|
||||||
"width = (int) 16, "
|
"width = (int) 16, "
|
||||||
"depth = (int) 16, "
|
"depth = (int) 16, "
|
||||||
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]; "
|
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]; "
|
||||||
|
|
|
@ -413,7 +413,7 @@ gst_base_audio_src_change_state (GstElement * element,
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||||
gst_ring_buffer_close_device (src->ringbuffer);
|
gst_ring_buffer_close_device (src->ringbuffer);
|
||||||
gst_object_unref (GST_OBJECT (src->ringbuffer));
|
gst_object_unref (src->ringbuffer);
|
||||||
src->ringbuffer = NULL;
|
src->ringbuffer = NULL;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue