Skip to content
Snippets Groups Projects
Commit 98b409ad authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#1962] Fix logic in audio callback ALSA

parent d5f1754a
Branches
Tags android/release_402
No related merge requests found
...@@ -950,7 +950,7 @@ void AlsaLayer::audioCallback (void) ...@@ -950,7 +950,7 @@ void AlsaLayer::audioCallback (void)
} else { } else {
if ((!tone) && (!file_tone && (getIndexOut() != getIndexRing()))) { if (!tone && !file_tone) {
SFLDataFormat* zeros = (SFLDataFormat*) malloc (framesPerBufferAlsa * sizeof (SFLDataFormat)); SFLDataFormat* zeros = (SFLDataFormat*) malloc (framesPerBufferAlsa * sizeof (SFLDataFormat));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment