Fixed some windows stuff

This commit is contained in:
WolverinDEV
2020-02-09 00:06:42 +01:00
parent 1f58621b3b
commit 1a71df9a8a
3 changed files with 10 additions and 3 deletions
@@ -105,6 +105,11 @@ void SoundIORecord::read_callback(int frame_count_min, int frame_count_max) {
return;
}
if(!areas) {
log_warn(category::audio, tr("Input audio underflow for {} ({} samples)"), this->device_handle->name, frame_count_max);
return;
}
/* test for interleaved */
{
char* begin = areas[0].ptr - sizeof(float);