[SailfishDevel] Voice Call Monitoring with QAudioInput
Dmitriy Purgin
dpurgin at gmail.com
Sun Jul 6 17:28:05 UTC 2014
Hi everyone,
I'm trying to capture the remote party in a voice call with
QAudioInput on SailfishOS 1.0.7.16. It seems to be obvious to use
"sink.primary.monitor" as an input device, but in my case it doesn't
capture anything except the keypad tones. I guess the phone switches
pulseaudio "sink.primary" port from "output_speaker" to
"output_earpiece" during the voice call but it doesn't influence the
"sink.primary.monitor" source.
I've tested the similar sitation on my desktop Fedora 20 with
Pulseaudio 4.0. The recording was started on source
"alsa_output.analog-stereo.monitor" with sounds played back on port
"analog-output-lineout" of sink "alsa_output.analog_stereo". Then I
switched active sink port to "analog-output-headphones", but the
recording program was still be able to capture the data.
Back to Jolla Phone, I've also discovered that "source.primary" has a
port "input-voice_call" which I presume can be actually what I'm
looking for.
Anyway, does someone happen to know if there's a Qt way of specifying
pulseaudio ports for QAudioInput? Or should I go deeper down to
libpulse?
Thanks in advance.
Cheers
Dmitriy Purgin
More information about the Devel
mailing list