[Clam-devel] Audio Output

Karsten Krispin karsten.mailinglists at krispin.de
Thu Aug 7 15:19:21 PDT 2008


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




More information about the clam-devel mailing list