Ok, I will try to be more explicit.<br><br>I am trying to grab the sound of some applications using the parec tool. I want to have independent audio sinks, one for each application, task that I have accomplished creating different null-sinks, redirecting the audio streams of that applications to that sinks, and finally, specifying the corresponding monitors when using parec.<br>
<br>The problem comes from the fact that when the application I want to grab the sound from has no sound - I am testing it with firefox and a website with no sound -, and the sink is one of those I have just created. In these conditions, when executing parec, the program states blocked waiting for an audio stream - and despite having the module suspend-on-idle disabled -. If the application has sound - firefox with a website with sound -, everything works fine!!!!<br>
<br>Ah, and regarding the ALSA sink stuff... When the sink I am grabbing the sound from is the ALSA one, I apparently do not have this problem. <br><br>I think I have explained the core of the problem, and I would be extremely grateful if you could help me with that.<br>
<br>Thank you very very much.<br><br>Alvaro<br><br><br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 4:28 PM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Fri, 09.10.09 15:36, Alvaro Alonso Jiménez (<a href="mailto:alvaroalo@gmail.com">alvaroalo@gmail.com</a>) wrote:<br>
<br>
> Hello everybody,<br>
><br>
> I have checked all the pulseaudio code in order to solve the problem of<br>
> idling when I have a sink different from the ALSA one (in other words, a new<br>
> module-null-sink). I need to code this stream using ffmpeg, and if I use the<br>
> ALSA sink, everything works fine, but whenever I create a new sink, and I<br>
> forward the applications to output the audio through that sink, if the<br>
> applications have no sound, the codification states blocked (waiting for an<br>
> audio stream). I need to have a permanent audio stream - if the application<br>
> has no audio, the pulseaudio should work as if there were silence, shouldn't<br>
> it?? -<br>
><br>
> I have the module suspend-on-idle disabled, and I have checked that there is<br>
> a thread about idling per-device or sth like that, but I don't understand it<br>
> at all...<br>
><br>
> Can anybody help me?? I would be really really grateful if so!!!!!<br>
<br>
</div></div>I am sorry, but the not-unterstanding is mutual. I really cannot make<br>
sense of you wrote above. Sorry. Could you rephrase what exactly your<br>
problem is? Unlees I understand what you want to do and what doesn't<br>
work as expected I cannot help you. Please explain your problem in a<br>
way that is understandable even for people who don't know the context<br>
of the project your are working on.<br>
<br>
Lennart<br>
<font color="#888888"><br>
--<br>
Lennart Poettering Red Hat, Inc.<br>
lennart [at] poettering [dot] net<br>
<a href="http://0pointer.net/lennart/" target="_blank">http://0pointer.net/lennart/</a> GnuPG 0x1A015CC4<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@mail.0pointer.de">pulseaudio-discuss@mail.0pointer.de</a><br>
<a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss" target="_blank">https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Alvaro Alonso Jiménez<br>Universidad Carlos III de Madrid<br>NIA 100029618<br>