<div>I'm on an Ubuntu system and want to write to a PCM buffer and play
it. <br></div><div>I created the most basic C program that only calls pa_simple_new().<br></div><div>I
 launched this program into Intel VTune and performed a Memory
Consumption analysis. It showed that libpulsecommon.so allocates ~200MB
and pa_simple_new() allocates ~67MB. <br></div><div>Why is so much memory allocated?<br></div><div>Also, as pulseaudio is what is adopted by Ubuntu, is it true that I have no other choice
than to use pulseaudio as it owns all the sound devices?<br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div>--<br></div><div>Ryan McClue, Sydney<br></div></div></div><div><br></div>