bluez: Fix channel mode string to joint-stereo.

This commit is contained in:
Luiz Augusto von Dentz 2008-10-07 11:55:58 -03:00 committed by Tim-Philipp Müller
parent 2431bdeb7c
commit 7bc4d8ee9e

View file

@ -776,7 +776,7 @@ gst_avdtp_sink_get_channel_mode (const gchar * mode)
{ {
if (strcmp (mode, "stereo") == 0) if (strcmp (mode, "stereo") == 0)
return BT_A2DP_CHANNEL_MODE_STEREO; return BT_A2DP_CHANNEL_MODE_STEREO;
else if (strcmp (mode, "joint") == 0) else if (strcmp (mode, "joint-stereo") == 0)
return BT_A2DP_CHANNEL_MODE_JOINT_STEREO; return BT_A2DP_CHANNEL_MODE_JOINT_STEREO;
else if (strcmp (mode, "dual") == 0) else if (strcmp (mode, "dual") == 0)
return BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL; return BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL;