[pulseaudio-discuss] flushing dynamically loaded modules

Tanu Kaskinen tanuk at iki.fi
Fri Sep 21 06:27:58 PDT 2012


(Added the mailing list back to recipients.)

On Fri, 2012-09-21 at 10:36 +0100, Richard Bown wrote:
> Hi Tanu
> I've flushed /tmp of all pulse files and it seems to have made a big
> difference .
>  There was one file owned by gdm which did not want to be deleted, but once
>  deleted I'm not seeing the crashing when jackd is stopped.
> In fact running verbose I can see that when jackd is stopped PA unloads the
> jack-sink and jack-source modules. That makes life easier as I don't need to
> manually unload them. This may be a gnome /pulse integration thing.
> Running the app and startup script on the laptop now looks good, except PA is
> suspending the jack-sink and source modules.
> 
> I'll now try it on the main machine with multiple sound cards. this will give
> problems as the old problem of loading alsa modules in random order is a pain.
> the easy fix is to let jackd use the alsa name of the card, the same way PA
> does.
> Which gives another problem, that jackd cant access the card by name if PA is
> already using it

So starting jackd while pulseaudio is running works fine if you use the
numeric card id, but not if you use the card name as the id? That's a
bug that would be nice to get fixed.

> , and PA doesn't like being killed and restarted within a shell
> script, as its run as a user application.
> What would be nice would be pasuspender <time in msecs>
> Or perhaps, which I'll try,
>  pactl list modules | grep M66 | < somehow get the module number>
> and then unload that module.
> 
> BTW I'm surprised how far Pulseaudio has progressed , Its far more useful and
> powerful than I thought.
> In the past I've had a habit of disabling it and just used ALSA, but from now
> on I'm be using it.  Thanks.

Thanks, it's nice to get positive feedback :)

-- 
Tanu



More information about the pulseaudio-discuss mailing list