aboutsummaryrefslogtreecommitdiff
path: root/audio/pcm_bluetooth.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-03-25 18:05:43 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-03-25 18:56:20 -0300
commit379d756055f32d46fe7e09e1d89be1f780abb144 (patch)
treed443196076c0fcc46927d421a010d2b668f5b56b /audio/pcm_bluetooth.c
parentc2f7b42b9be6dd2d3f4cb52e12a52b73421a236a (diff)
downloadbluez-379d756055f32d46fe7e09e1d89be1f780abb144.tar.gz
Add specific codec types.
Add specific codec types for a2dp sources and sinks so clients are able to differ between them.
Diffstat (limited to 'audio/pcm_bluetooth.c')
-rw-r--r--audio/pcm_bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index 2360ae76..1332862c 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -1623,7 +1623,7 @@ static int bluetooth_parse_capabilities(struct bluetooth_data *data,
return 0;
while (bytes_left > 0) {
- if ((codec->type == BT_A2DP_CODEC_SBC) &&
+ if ((codec->type == BT_A2DP_SBC_SINK) &&
!(codec->lock & BT_WRITE_LOCK))
break;