gst/volume/gstvolume.c: Allow buffer-frames=0.

Original commit message from CVS:
* gst/volume/gstvolume.c:
Allow buffer-frames=0.
This commit is contained in:
Ronald S. Bultje 2004-11-12 16:51:18 +00:00
parent 31c96d6d0b
commit 7ca81ea6a5
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2004-11-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/volume/gstvolume.c:
Allow buffer-frames=0.
2004-11-12 Iain <iaingnome@gmail.com>
* configure.ac: Check for polypaudio

View file

@ -74,7 +74,7 @@ static GstStaticPadTemplate volume_sink_factory =
"channels = (int) [ 1, MAX ], "
"endianness = (int) BYTE_ORDER, "
"width = (int) 32, "
"buffer-frames = (int) [ 1, MAX]; "
"buffer-frames = (int) [ 0, MAX]; "
"audio/x-raw-int, "
"channels = (int) [ 1, MAX ], "
"rate = (int) [ 1, MAX ], "
@ -90,7 +90,7 @@ static GstStaticPadTemplate volume_src_factory = GST_STATIC_PAD_TEMPLATE ("src",
"channels = (int) [ 1, MAX ], "
"endianness = (int) BYTE_ORDER, "
"width = (int) 32, "
"buffer-frames = (int) [ 1, MAX]; "
"buffer-frames = (int) [ 0, MAX]; "
"audio/x-raw-int, "
"channels = (int) [ 1, MAX ], "
"rate = (int) [ 1, MAX ], "