Skip to content

Commit

Permalink
array header
Browse files Browse the repository at this point in the history
  • Loading branch information
ruguevara committed Apr 27, 2024
1 parent 4b4f930 commit 9ba7997
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aychip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ auto AyumiEmulator::processBlock(float* outLeft, float* outRight, size_t numSamp
if (removeDC) {
ayumi_remove_dc(&Ayumi_);
}
*outLeft = Ayumi_.left * MasterVolume_;
*outRight = Ayumi_.right * MasterVolume_;
*outLeft = static_cast<float>(Ayumi_.left) * MasterVolume_;
*outRight = static_cast<float>(Ayumi_.right) * MasterVolume_;
}
}

Expand Down
1 change: 1 addition & 0 deletions src/aychip.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <cstddef>
#include <string>
#include <vector>
#include <array>

#include "utils/tools.h"

Expand Down

0 comments on commit 9ba7997

Please sign in to comment.