ALSA: check return values to be < 0, not != 0. Fixes problem with pulseaudio (ALSA...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 4 Nov 2008 10:45:10 +0000 (10:45 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 4 Nov 2008 10:45:10 +0000 (10:45 +0000)
commit04eec472f7b45b8a85cba6e4184aef89361220d6
treecb58aebb8397850744c7696aec81e5f6f44c6bc8
parent5090f6da276d673f6ee0b149ee2f83ef82f62902
ALSA: check return values to be < 0, not != 0. Fixes problem with pulseaudio (ALSA apparently decided to start returning, here, +1 for success). See https://bugs.helixcommunity.org/show_bug.cgi?id=7375&link=0

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8545 d7cf8633-e32d-0410-b094-e92efae38249
snd_alsa.c