'Twas brillig, and Lin, Mengdong at 29/05/11 04:39 did gyre and gimble: > Great thanks, Arun! > >> You can also connect to the monitor source of the sink to capture >> the actual data. > > I saw a Bluetooth monitor source of the sink. But I don't know how to > use it. Do you mean that I can move the GTalk sink input stream's to > that *monitor source*? And where can I get the captured data? And how > can I verify the data is ok? No, you cannot move a sink input to a source. Sink inputs are Output Streams and Sources are input devices. A monitor source is just a device that you can record from (just like a mic). It will contain the same data that is playing on the device. > In addition, if a Bluetooth HSP sink is connected to 2 sink input > streams, how does the bluetooth sink handle different audio formats > such as sampling frequency? How the two steams is mixed, in which > component? Eg. one sink input is 44100HZ stereo (music player) and > the other is 16000HZ mono (Gtalk)? I have this question because if I > connect music player's input to the BT HSP sink at the same time, I > can hear the music but GTalk keeps quiet. As said on the other thread, it should be resampled and then mixed. That's certainly how other sinks work and I don't think the bluetooth one is any different (but I don't know the code that well). Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mageia Contributor [http://www.mageia.org/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]