[Clam-devel] Audio Output

David García Garzón dgarcia at iua.upf.edu
Thu Aug 7 16:49:37 PDT 2008


Use a PANetworkPlayer or JackNetworkPlayer which takes AudioSources and 
AudioSinks as devices. Check the examples on the wiki and in CLAM/examples

All the other methods are deprecated. Aren't they, Pau? Xavi?

David.

On Divendres 08 Agost 2008, Karsten Krispin wrote:
> Good Day!
>
> I'm quite confused about the way I have to get audio out of my application
> using clam.
>
> If I got it right, there are serveral ways of doing it:
>  - AudioOut via AudioManager and the only available backend RtAudio
>  - PAStreams
>  - SndPcm (which is a really raw alsa backend)
>
> SndPcm is no choice as it is too.. hmm.. concrete.
> With using RtAudio or AudioOut or whatever, I experienced big problems at
> low-latency.
>
> PAStreams is the only way I currently didn't try out.
> But I had a look into PANetworkPlayer, which seems to be Callback-based.
> What are the advantages over blocking mode?
>
> Is the PANetworkPlayer-Backend supposed to be run with Network's HopSize?
> Like.. usually 512Samples per Buffer/Callback Tick?
>
> Isnt' it possible to use PA-Backend with AudioOut? Probably not, because
> it's not ready to be used callback based?
>
> So it's true that there is actually no real abstract way of audio
> interfacing within clam?
>
> If so, I would be pleased by getting some neat advice into the right
> direction how to output audio. :)
>
> Thanks and warm regards,
> Karsten
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080808/ce8e4e3d/attachment-0003.pgp>


More information about the clam-devel mailing list