Lennart Poettering wrote:
On Fri, 24.10.08 12:39, Knut-Håvard Aksnes ([EMAIL PROTECTED]) wrote:

I am working on an application where I listen to monitor interfaces. The audio stream is intended to be merged with other AV streams later down the processing pipeline using third party code, (open source but quite complex to understand and modify). My problem is that the application connecting to the pulse audio monitor might or might not send audio, depending on user input, if it doesn't send audio it won't connect to the pulse audio source, the application might also disconnect the audio based on user input, before terminating itself. (Audio is handled by plugins that might get loaded and unloaded based on user input)

My problem is that I really need to receive silence (zero filled audio ) instead of empty packages from the monitor interface when no sources is connected. Is it possible to configure pulse audio to give me this?

A simple possibility is not to load module-suspend-on-idle. Only when
an audio devcie is suspended you won't get any data from it.
At least on fedora 9 (running pulseaudio 0.9.10) this doesn't work.

An easy test is to unload the module-suspend-on-idle, then creating a null sink
then trying parec on this sinks monitor device without connecting a source.
The result is an empty file. What I need is a file growing with the same speed (pa_bytes_per_second per second) even when no applications are sending to the associated l sink.
begin:vcard
fn;quoted-printable:Knut-H=C3=A5vard Aksnes
n;quoted-printable:Aksnes;Knut-H=C3=A5vard
org:Aksnes Software
adr;quoted-printable:;;Barbug=C3=A5rdsveien 35;4846 ARENDAL;;;Norway
email;internet:[EMAIL PROTECTED]
title:Software consultant
tel;cell:+47  928 23 680
note;quoted-printable:Organisasjonsnr. 992557575=0D=0A=
	=0D=0A=
	Programvare relaterte konsulent tjenester: Utredning, utvikling og tilpas=
	sning.=0D=0A=
	
x-mozilla-html:TRUE
url:http://www.tirsdagsklubben.nu/~kna
version:2.1
end:vcard

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to