[pulseaudio-discuss] flushing dynamically loaded modules

Tanu Kaskinen tanuk at iki.fi
Thu Sep 20 10:35:39 PDT 2012


On Thu, 2012-09-20 at 18:10 +0100, Richard Bown wrote:
> Hi ,
> sorry for the newbie type questions.
> I've looked in the FAQs, and probably missed the answer.
> If I load a module from CLI  with pactl or with paprefs
> is there a CLI command to flush the loaded modules.????
> 
> I haven't found the config file which is created and added to by paprefs, or 
> from pactl, its location would help please.

The papref settings are stored in gconf. But since you can undo anything
that you do with papref with papref, papref isn't really a problem here.

> I've tried using unload-module, but that requires an index to function.

How is that a problem? I mean, I know that it's a bit cumbersome to dig
out the indexes with "pactl list modules" (the next pulseaudio release
will support giving module name instead of index, yay!), but from your
description I don't get why requiring an index would prevent you from
unloading the modules.

> The modules in question are module-jack-sink and module-jack-source, and
> pulseaudio wont start if they are loaded and jackd is not running.
> 
> Rebooting clears them, so the modified config must be in a tmp file somewhere.

How do you load the jack modules? There's certainly no tmp file storing
the jack module configuration, so if you have loaded them just with
pactl, restarting pulseaudio will clear the configuration.

-- 
Tanu



More information about the pulseaudio-discuss mailing list