Lines Matching defs:allocation
80 * Selects one allocation mode from the ones on the list
278 gint gst_sbc_parse_allocation_to_sbc(const gchar *allocation)
280 if (g_ascii_strcasecmp(allocation, "loudness") == 0)
282 else if (g_ascii_strcasecmp(allocation, "snr") == 0)
295 allocation_str = gst_sbc_parse_allocation_from_sbc(sbc->allocation);
306 "allocation", G_TYPE_STRING, allocation_str,
328 const gchar *allocation = NULL;
400 if (!gst_structure_has_field(structure, "allocation")) {
402 *error_message = g_strdup("no allocation");
405 value = gst_structure_get_value(structure, "allocation");
407 allocation = gst_sbc_get_allocation_from_list(value);
409 allocation = g_value_get_string(value);
445 "allocation", G_TYPE_STRING, allocation,
487 const gchar *allocation;
506 if (!(allocation = gst_structure_get_string(structure, "allocation")))
517 sbc->allocation = gst_sbc_parse_allocation_to_sbc(allocation);