From ea39736b353ba409d03e8f86b7ca6ca1e746fecd Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 29 Oct 2007 15:02:26 +0000 Subject: Add bitpool capability. --- audio/gstsbcutil.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'audio/gstsbcutil.c') diff --git a/audio/gstsbcutil.c b/audio/gstsbcutil.c index c795aedc..e55220c3 100644 --- a/audio/gstsbcutil.c +++ b/audio/gstsbcutil.c @@ -104,6 +104,15 @@ gint gst_sbc_select_subbands_from_range(const GValue *value) return gst_value_get_int_range_max(value); } +/* + * Selects one bitpool option from a range + * TODO - use a better approach to this (it is selecting the maximum value) + */ +gint gst_sbc_select_bitpool_from_range(const GValue *value) +{ + return gst_value_get_int_range_max(value); +} + /* * Selects one allocation mode from the ones on the list * TODO - use a better approach -- cgit