So I can still detect data with pa_stream_peek.. if its zero there is no data....<br><br><div class="gmail_quote">2009/5/27 Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Wed, 27.05.09 11:01, Jason Taylor (<a href="mailto:killerkiwi2005@gmail.com">killerkiwi2005@gmail.com</a>) wrote:<br>
<br>
> Maybe a step back....<br>
><br>
> I know a stream is active.. its volume is set to zero or its muted....<br>
><br>
> Is there anyway to tell if there is any data/sound being produced by the<br>
> stream<br>
><br>
> My current hack is to set the volume to 2% so I can still detect sound using<br>
> pa_stream_peek<br>
><br>
<br>
</div>Uh? I am sorry. I don't get it! Why would you set a stream volume to<br>
2%?<br>
<br>
What exactly are you trying to do?<br>
<div><div></div><div class="h5"><br>
Lennart<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>"Weekends don't count unless you spend them doing something completely pointless. " - Calven<br>