Skip to content

Commit

Permalink
Invalid audio files
Browse files Browse the repository at this point in the history
- Made error message more helpful when stereo tracks are provided.
  • Loading branch information
BJDubb committed May 10, 2023
1 parent 178602c commit febcecd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions SirenSharp/AboutForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions SirenSharp/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion SirenSharp/SirenBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public static void GenerateSirenAWC(string awcName, string wavFolder, Siren[] si
}
catch (Exception ex)
{
MessageBox.Show($"One of the audio files provided was invalid.\n\n {ex.Message}\n {ex.StackTrace}", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show($"One of the audio files provided is stereo. Convert this to a mono track to use with GTA V/FiveM.\n\n {ex.Message}\n\n {ex.StackTrace}", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}

Expand Down

0 comments on commit febcecd

Please sign in to comment.