bluez: Fix channel mode string to joint-stereo.
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>
Tue, 7 Oct 2008 14:55:58 +0000 (11:55 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 9 Jan 2013 14:30:10 +0000 (14:30 +0000)
sys/bluez/gstavdtpsink.c

index 25ebd9c..9fddd30 100644 (file)
@@ -776,7 +776,7 @@ gst_avdtp_sink_get_channel_mode (const gchar * mode)
 {
   if (strcmp (mode, "stereo") == 0)
     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;
   else if (strcmp (mode, "dual") == 0)
     return BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL;