aboutsummaryrefslogtreecommitdiff
path: root/audio/unix.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-02-18 20:50:46 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-18 20:50:46 +0200
commit6272788e3058aa548fdbf308a60e20c67152097d (patch)
tree6c66dcbc2e0c54bd2d6e67f51594d6ea970b40a4 /audio/unix.c
parent24df1ac4425546469aeacd6d2dd69b513c77e6a2 (diff)
downloadbluez-6272788e3058aa548fdbf308a60e20c67152097d.tar.gz
Add BT_PCM_FLAG_PCM_ROUTING flag to ipc
Diffstat (limited to 'audio/unix.c')
-rw-r--r--audio/unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/unix.c b/audio/unix.c
index 7fc4387f..a39f1806 100644
--- a/audio/unix.c
+++ b/audio/unix.c
@@ -250,6 +250,8 @@ static void headset_discovery_complete(struct audio_device *dev, void *user_data
pcm->sampling_rate = 8000;
if (headset_get_nrec(dev))
pcm->flags |= BT_PCM_FLAG_NREC;
+ if (!headset_get_sco_hci(dev))
+ pcm->flags |= BT_PCM_FLAG_PCM_ROUTING;
rsp->h.type = BT_RESPONSE;
rsp->h.name = BT_GET_CAPABILITIES;