Update audio mixed processor (#4214)

* updated audio mixed processor

* remove float cast, better parenthesis
This commit is contained in:
Anthony Carbajal 2024-08-06 11:29:10 -05:00 committed by GitHub
parent 8b714e9dd9
commit 4b84b5563e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,7 +97,7 @@ int main(void)
DrawRectangle(199, 199, 402, 34, LIGHTGRAY);
for (int i = 0; i < 400; i++)
{
DrawLine(201 + i, 232 - (int)averageVolume[i] * 32, 201 + i, 232, MAROON);
DrawLine(201 + i, 232 - (averageVolume[i] * 32), 201 + i, 232, MAROON);
}
DrawRectangleLines(199, 199, 402, 34, GRAY);