summaryrefslogtreecommitdiffstats
path: root/audio/gstsbcutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gstsbcutil.h')
-rw-r--r--audio/gstsbcutil.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/gstsbcutil.h b/audio/gstsbcutil.h
index 4581abf7..a67bf1be 100644
--- a/audio/gstsbcutil.h
+++ b/audio/gstsbcutil.h
@@ -49,3 +49,22 @@ const gchar *gst_sbc_get_mode_string(int joint);
GstCaps* gst_sbc_caps_from_sbc(sbc_capabilities_t *sbc, gint channels);
GstCaps* gst_sbc_util_caps_fixate(GstCaps *caps, gchar** error_message);
+
+void gst_sbc_util_set_structure_int_param(GstStructure *structure,
+ const gchar* field, gint field_value,
+ GValue *value);
+
+void gst_sbc_util_set_structure_string_param(GstStructure *structure,
+ const gchar* field, const gchar* field_value,
+ GValue *value);
+
+gboolean gst_sbc_util_fill_sbc_params(sbc_t *sbc, GstCaps *caps);
+
+gint gst_sbc_util_calc_frame_len(gint subbands, gint channels,
+ gint blocks, gint bitpool, gint channel_mode);
+
+gint gst_sbc_util_calc_bitrate(gint frame_len, gint rate, gint subbands,
+ gint blocks);
+
+gint64 gst_sbc_util_calc_frame_duration(gint rate, gint blocks, gint subbands);
+