[pulseaudio-discuss] How to capture one of multiple radios that these radios play at the same time?

Tsai Yu-Chin 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://140.116.72.245/~ruready566/img/playback_pa.png  .
They are separate streams in playback panel.

But when I open record panel,
See http://140.116.72.245/~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://140.116.72.245/~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.

                                                            Yu-Chin
> --
> Tanu
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
>



More information about the pulseaudio-discuss mailing list