diff options
author | Chris Robinson <[email protected]> | 2009-12-25 13:19:25 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-12-25 13:19:25 -0800 |
commit | d3e77a0f6324eb46655c41f310bf3cde4341feb8 (patch) | |
tree | cdbcca9705943fefeb0ecd233ff50c540a1db97d | |
parent | 965a71ee90da440e539c02faf5ed97b92ad12e91 (diff) |
Fix incorrect error check
-rw-r--r-- | Alc/alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -654,7 +654,7 @@ static ALCboolean alsa_reset_playback(ALCdevice *device) err = "sw set avail min"; if(i == 0 && (i=psnd_pcm_sw_params(data->pcmHandle, sp)) != 0) err = "sw set params"; - if(i == 0) + if(i != 0) { AL_PRINT("%s failed: %s\n", err, psnd_strerror(i)); psnd_pcm_sw_params_free(sp); |