[pulseaudio-discuss] Optimize PA for mobile usage

Arun Raghavan arun.raghavan at collabora.co.uk
Sat Oct 8 03:18:56 PDT 2011


On Sat, 2011-10-08 at 01:22 +0200, Andreas Bauer wrote:
[...]
> This is already setup and works fine indeed for everything but this one application. It will not allow free text entry of an ALSA device, but will instead present only devices listed in /proc/asound/pcm ("real" hardware devices).
> 
> I don't care how dirty the workaround is ;) as long as it works reliably to connect this application to PA.

You could write a small library that overrides snd_pcm_open and forces
using the default device. You'd then launch your legacy program with
this library in LD_PRELOAD. (hey, you said you don't care how dirty the
workaround is! :))

-- Arun



More information about the pulseaudio-discuss mailing list