summaryrefslogtreecommitdiffstats
path: root/audio/gstsbcutil.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-10-29 15:02:26 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-10-29 15:02:26 +0000
commitea39736b353ba409d03e8f86b7ca6ca1e746fecd (patch)
tree09f978819246b2c25cb0a1bb53da66cafce5df61 /audio/gstsbcutil.c
parent973d90d520edc392c458c556d9f1a3e242a1f080 (diff)
Add bitpool capability.
Diffstat (limited to 'audio/gstsbcutil.c')
-rw-r--r--audio/gstsbcutil.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/gstsbcutil.c b/audio/gstsbcutil.c
index c795aedc..e55220c3 100644
--- a/audio/gstsbcutil.c
+++ b/audio/gstsbcutil.c
@@ -105,6 +105,15 @@ gint gst_sbc_select_subbands_from_range(const GValue *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
*/