]> git.alsa-project.org Git - alsa-plugins.git/commit
pulse - Change to hook load_if_running
authorSjoerd Simons <sjoerd@luon.net>
Tue, 13 May 2008 12:16:06 +0000 (14:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Jun 2008 13:55:03 +0000 (15:55 +0200)
commitbfb34e44a1b323d6db67dc376986c707cad0477e
tree7b0774e899982c5e2663854d0079cb1124a6b63f
parent5d1c1b862603937bc28a66c58131b7bebc11e8c6
pulse - Change to hook load_if_running

Unfortunately some more testing revealed some issues with it,
specifically if pulse is running your complete config is replaced the bits in
the on_pulse_is_running directive. Which might not be what one actually wants :)

I couldn't find a proper solution for this. So i've changed the code to
optionally load config files. Just like the load hook does. Actually i just
optionally call the snd_config_hook_load function, but that's not actually in
the alsa API....

Also it now decides pulse is running as soon as the authorizing step begins
(just after the actually connection is setup), which should save some
round-trips and overhead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
pulse/conf_pulse.c