GST_STATIC_CAPS ("audio/x-sbc, "
"rate = (int) { 16000, 32000, 44100, 48000 }, "
"channels = (int) [ 1, 2 ], "
- "mode = (string) { \"mono\", \"dual\", \"stereo\", \"joint\" }, "
+ "channel-mode = (string) { mono, dual, stereo, joint }, "
"blocks = (int) { 4, 8, 12, 16 }, "
"subbands = (int) { 4, 8 }, "
- "allocation = (string) { \"snr\", \"loudness\" }, "
+ "allocation-method = (string) { snr, loudness }, "
"bitpool = (int) [ 2, " TEMPLATE_MAX_BITPOOL_STR " ]; " "audio/mpeg"));
static gboolean gst_a2dp_sink_handle_event (GstPad * pad,
}
g_value_unset (value);
if (list) {
- gst_structure_set_value (structure, "mode", list);
+ gst_structure_set_value (structure, "channel-mode", list);
g_free (list);
list = NULL;
}
}
g_value_unset (value);
if (list) {
- gst_structure_set_value (structure, "allocation", list);
+ gst_structure_set_value (structure, "allocation-method", list);
g_free (list);
list = NULL;
}
self->channel_mode = new_mode;
if (self->channel_mode == -1)
- GST_WARNING_OBJECT (self, "Received invalid channel " "mode: %s", mode);
+ GST_WARNING_OBJECT (self, "Received invalid channel mode: %s", mode);
}