Skip to content

Commit

Permalink
singstar: debug: writes too much
Browse files Browse the repository at this point in the history
  • Loading branch information
jackun committed Sep 5, 2019
1 parent a9a0a35 commit 0d362b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb-mic/usb-mic-singstar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ static void singstar_mic_handle_data(USBDevice *dev, USBPacket *p)
}

if (file)
fwrite(dst, sizeof(*dst), ret * outChns, file);
fwrite(dst, 1, ret, file);
#endif
}
break;
Expand Down

0 comments on commit 0d362b9

Please sign in to comment.