]> git.alsa-project.org Git - alsa-plugins.git/commit
pulse: immediately trigger EIO when connection is dropped
authorLennart Poettering <mznyfn@0pointer.de>
Tue, 4 Aug 2009 21:56:00 +0000 (23:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Aug 2009 22:01:18 +0000 (00:01 +0200)
commit4c71fdd22dbfaf7b5fb7de62bbc9dd4002e788db
tree9171477b93909f5de4cc6475311deefa8341ae6b
parent50562a9d5d54270ab67f183013204d24cdbeff21
pulse: immediately trigger EIO when connection is dropped

When the connection is dropped notify the application immediately
instead of waiting until the applications calls into us the next time.

This makes "aplay" handle connections shutdown similar to hardware
unplugs: an immediate EIO is thrown.

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