]> git.alsa-project.org Git - alsa-plugins.git/commit
pulse - Returns errors instead of assert()
authorTakashi Iwai <tiwai@suse.de>
Wed, 16 Jul 2008 13:15:42 +0000 (15:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Jul 2008 13:48:06 +0000 (15:48 +0200)
commitcf23b804e022e6d9c0e1894fed887a735963a127
tree5ecb5f415f0dce27de9174fc131af4cb88f25b5e
parent044d392628d33c71e2ac6411f4553bda7dc6ddff
pulse - Returns errors instead of assert()

Some sanity checks in pcm_pulse.c with assert() causes the program to
abort unexpectedly when the pulseaudio daemon is dead.  This is
suboptimal.  Examples:
    https://bugzilla.novell.com/show_bug.cgi?id=409532

Now fixed to return an error instead.

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