summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-06-04 22:04:25 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-06-04 22:04:25 +0000
commit6e1999d1ddf223e3a0fc173a8dc6fc2342ab9da3 (patch)
tree78a8f3e19a6ff5a0b293ac1cf5a7945f5a0475ec
parenta551604373fc46741c44524b01353d50852b26f4 (diff)
Revert acidental commit.
-rw-r--r--audio/pcm_bluetooth.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index 3e473d6c..838dcd39 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -182,15 +182,6 @@ SND_PCM_PLUGIN_DEFINE_FUNC(bluetooth)
return -EINVAL;
}
- if((stream == SND_PCM_STREAM_PLAYBACK) && (opened_for & OPENED_PLAYBACK)) {
- SNDERR("Cannot open Bluetooth Headset PCM plugin twice for playback.");
- return -EINVAL;
- }
- if((stream == SND_PCM_STREAM_CAPTURE) && (opened_for & OPENED_CAPTURE)) {
- SNDERR("Cannot open Bluetooth Headset PCM plugin twice for capture.");
- return -EINVAL;
- }
-
id = abs(getpid() * rand());
sk = socket(PF_LOCAL, SOCK_DGRAM, 0);