]> git.alsa-project.org Git - alsa-plugins.git/commit
pulse: get rid of a number of assert()s
authorLennart Poettering <lennart@poettering.net>
Fri, 31 Jul 2009 13:25:44 +0000 (15:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Aug 2009 10:35:35 +0000 (12:35 +0200)
commitbe8799947bac41c50460111b0ac20ff8176b6b47
treeccd42a7b78abd2208146da406c33e860dc7449e0
parentae9a633d98988d072307284a260e985a4c660501
pulse: get rid of a number of assert()s

Instead of hitting an assert when any of the plugin functions is called
in an invalid context we should return a clean error to make sure
programs are not unnecessarily aborted.

This should fix issues such as http://pulseaudio.org/ticket/595

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