[pulseaudio-discuss] How to capture one of multiple radios that these radios play at the same time?
yorjing at gmail.com
Thu Nov 18 22:42:51 PST 2010
Thank you for your reply.
>2010/11/19 Tanu Kaskinen <tanuk at iki.fi>:
> It seems that you pretty much correctly set up a record stream that
> records from a single playback stream. How do you play the three radios?
I use Betaradio to play them.
> Do they appear as three separate streams in pavucontrol?
When I want to play them at the same time,
See http://184.108.40.206/~ruready566/img/playback_pa.png .
They are separate streams in playback panel.
But when I open record panel,
See http://220.127.116.11/~ruready566/img/record_pa.png .
Thare are only one stream in this panel.
I don't know why I can't record audio individually,
but I can see three separate streams in playback panel.
> Are you sure you give the correct sink input index as the parameter to
> your program?
I assign sink input num according to Pulseaudio Manager.
See http://18.104.22.168/~ruready566/img/sinkinput_num.png .
And I program other code which can list all sink input info,
the outcome of it is the same as PulseAudio Manager.
Maybe I am wrong.
Can you teach me how to find correct sink input number?
> In case you use a remap sink or something similar, you
> might be recording from the sink's own playback stream that has the
> radio streams mixed - this doesn't sound very likely, but I don't
> understand how else you could be getting mixed audio...
I don't use any remap sink or something similar.
Because I don't know why, I can't solve it.
> One more thing: you certainly do not want to use the
> PA_STREAM_PEAK_DETECT flag. That will mangle the audio so that writing a
> peak meter is easier (pavucontrol uses the flag, because it shows the
> peak meters for all the streams).
Thank you for your suggestions.
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
More information about the pulseaudio-discuss