Fix ALSA build.

This commit is contained in:
David Reid
2016-10-20 21:47:30 +10:00
parent bf093f22db
commit 3180cadb4a
+2 -2
View File
@@ -2143,11 +2143,11 @@ static mal_bool32 mal_device_read__alsa(mal_device* pDevice)
}
}
framesToSend = framesRead * pDevice->channels;
framesToSend = framesRead;
pBuffer = pDevice->alsa.pIntermediaryBuffer;
}
if (samplesToSend > 0) {
if (framesToSend > 0) {
mal_device__send_frames_to_client(pDevice, framesToSend, pBuffer);
}