Knut-Håvard Aksnes wrote:
To clearify a little: I need to send a timestamped (adjusted for latency) audio stream downstream. This stream should be continous, audio should be sent even when no clients are connected to the interface being monitored. This should work even when clients connect, then disconnect and then the same or another application reconnects.
Is this possible using the existing API?
If the answer is yes how?
If the answer is no, could the API be  extended to make it possible?
Can I assume that i will always be informed about underflow if it occurs before a pa_mainloop_dispatch finishes? If this is the case can I then assume that without this information lack of audio means that no audio source is available? If the answer of the second question is yes will the latency information available be good enough to generate the correct amount of silence myself?


If I generate too much silence I might be in for a bad surprise, when I can't keep the timestamps increasing if I get audio on the next call, if I don't generate silence my backend can't multiplex the different streams. The multiplexer needs at least the timestamps to know how to proceed, it might have to resample some audio due to clock differences, between different media sources.
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