diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-02-14 21:22:38 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-02-14 21:22:38 +0000 |
commit | 8fbc804e08629e5450d2641b4ba660f111dedbb2 (patch) | |
tree | b3662205dbb39467b2edfa8ef3830bf6e9436b6d /audio/gstsbcutil.c | |
parent | 575495ab453739d6b237d98d3c6ac86f047135ea (diff) |
Make use of parameters selected in alsa plugin and fix auto selection.
Diffstat (limited to 'audio/gstsbcutil.c')
-rw-r--r-- | audio/gstsbcutil.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/audio/gstsbcutil.c b/audio/gstsbcutil.c index 075e3a4d..de48838f 100644 --- a/audio/gstsbcutil.c +++ b/audio/gstsbcutil.c @@ -131,8 +131,6 @@ gint gst_sbc_get_allocation_mode_int(const gchar *allocation) return BT_A2DP_ALLOCATION_LOUDNESS; else if (g_ascii_strcasecmp(allocation, "snr") == 0) return BT_A2DP_ALLOCATION_SNR; - else if (g_ascii_strcasecmp(allocation, "auto") == 0) - return BT_A2DP_ALLOCATION_AUTO; else return -1; } @@ -147,8 +145,6 @@ gint gst_sbc_get_mode_int(const gchar *mode) return BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL; else if (g_ascii_strcasecmp(mode, "mono") == 0) return BT_A2DP_CHANNEL_MODE_MONO; - else if (g_ascii_strcasecmp(mode, "auto") == 0) - return BT_A2DP_CHANNEL_MODE_AUTO; else return -1; } @@ -190,8 +186,6 @@ const gchar *gst_sbc_get_mode_string(gint joint) return "stereo"; case BT_A2DP_CHANNEL_MODE_JOINT_STEREO: return "joint"; - case BT_A2DP_CHANNEL_MODE_AUTO: - return NULL; /* TODO what should be selected here? */ default: return NULL; } @@ -204,8 +198,6 @@ const gchar *gst_sbc_get_allocation_string(gint alloc) return "loudness"; case BT_A2DP_ALLOCATION_SNR: return "snr"; - case BT_A2DP_ALLOCATION_AUTO: - return "loudness"; /* TODO what should be selected here? */ default: return NULL; } |