Skip to content

Commit

Permalink
Add event ID to saved file names
Browse files Browse the repository at this point in the history
  • Loading branch information
aaaaaaaaaaaaaaaaaxaaaaaa committed Jul 15, 2019
1 parent 1d6c1d4 commit f2c27dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MSD/Recorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ bool Recorder::Save()
FILE* file;

MilesFillWavHeader(&headerData, 48000, 2, cursor);
snprintf(filename, 256, "%s\\%s.wav", args::get(outputFolder).c_str(), eventName);
snprintf(filename, 256, "%s\\%i - %s.wav", args::get(outputFolder).c_str(), eventId, eventName);

fopen_s(&file, filename, "wb");
if (file == NULL) { return false; }
Expand Down

0 comments on commit f2c27dd

Please sign in to comment.