Using bluetooth as slave for dsnoop

Wolfgang Wershofen <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
Hi everybody,

me and the guys from the twinkle mailing list have a problem with using
a bluetooth headset with twinkle. Everything works fine except for the
microphone. That is, I can hear people talking on the other end loud and
clear, but the other side only gets loud white static noise from me.
Otherwise, with arecord, the sound recording runs without any problems.

We have come so far, that we think, it's a timing problem with
open/close of the alsa device, where a subsequent open comes before the
close instruction of the previous connection has been finished.

So the idea was, to use the alsa plugin dsnoop to take care of the
bluetooth connection rather than twinkle and see, if that helps. But I
can't get the bluetooth device to act as a slave for dsnoop. Here's one
of my /etc/asound.conf approaches, but no matter, what I try, they all
do not work:

pcm.bluetooth {
         type bluetooth
         device "00:07:A4:05:16:6A"
         profile "auto"
}

pcm.bt_slave {
         type dsnoop
         ipc_key 1024
         ipc_key_add_uid true
         slave.pcm bluetooth
}



This is what I get from using bt_slave with arecord:

wolle@buero:~/tmp> arecord -v -D bt_slave -f S16_LE -c 2 /dev/null
ALSA lib pcm_direct.c:1479:(_snd_pcm_direct_get_slave_ipc_offset)
Invalid type 'bluetooth' for slave PCM

arecord: main:564: audio open error: Das Argument ist ungültig


Any hints on how to use a bluetooth device as a slave pcm? Has anybody
got something like this working? Any help is appretiated.

Thx
Wolfgang


-- 
Geek by nature, Linux by choice



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.