Skip to content

Commit

Permalink
fix blow noise input
Browse files Browse the repository at this point in the history
(microphone input takes signed values)
  • Loading branch information
RSDuck committed Oct 1, 2024
1 parent e9446fa commit f13c70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/qt_sdl/EmuInstanceAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ void EmuInstance::micProcess()

for (int i = 0; i < 735; i++)
{
tmp[i] = mic_blow[sample_pos];
tmp[i] = mic_blow[sample_pos] ^ 0x8000;
sample_pos++;
if (sample_pos >= sample_len) sample_pos = 0;
}
Expand Down

0 comments on commit f13c70d

Please sign in to comment.