Remove duplicate check in ALSA mmap playback

This commit is contained in:
Chris Robinson
2009-10-16 10:57:58 -07:00
parent c7c4cf221a
commit 86e0b9386d
+1 -1
View File
@@ -289,7 +289,7 @@ static ALuint ALSAProc(ALvoid *ptr)
}
// make sure there's frames to process
if(avail >= 0 && avail < (snd_pcm_sframes_t)pDevice->UpdateSize)
if((snd_pcm_uframes_t)avail < pDevice->UpdateSize)
{
if(state != SND_PCM_STATE_RUNNING)
{