summaryrefslogtreecommitdiffstats
path: root/audio/gstsbcutil.c
diff options
context:
space:
mode:
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
*/