bluez: Fix channel mode string from dual to dual-channel.
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>
Tue, 7 Oct 2008 15:07:14 +0000 (12:07 -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 9fddd30..26a32f7 100644 (file)
@@ -778,7 +778,7 @@ gst_avdtp_sink_get_channel_mode (const gchar * mode)
     return BT_A2DP_CHANNEL_MODE_STEREO;
   else if (strcmp (mode, "joint-stereo") == 0)
     return BT_A2DP_CHANNEL_MODE_JOINT_STEREO;
-  else if (strcmp (mode, "dual") == 0)
+  else if (strcmp (mode, "dual-channel") == 0)
     return BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL;
   else if (strcmp (mode, "mono") == 0)
     return BT_A2DP_CHANNEL_MODE_MONO;