1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-17 00:57:40 +02:00

Bug 2128 - (Residual) Better error messages for mismatched rates.

This commit is contained in:
James Crook 2020-04-20 20:45:42 +01:00
parent 23f5811061
commit ef659ed822
2 changed files with 11 additions and 11 deletions

View File

@ -488,9 +488,9 @@ void ProjectAudioManager::OnRecord(bool altAppearance)
const bool allSameRate{ selectedTracks.allSameRate };
if (!allSameRate) {
AudacityMessageBox(XO("TRACK SELECTION PROBLEM:\nthe tracks selected "
AudacityMessageBox(XO("The tracks selected "
"for recording must all have the same sampling rate"),
XO("Unfitting track selection"),
XO("Mismatched Sampling Rates"),
wxICON_ERROR | wxCENTRE);
return;
@ -508,11 +508,11 @@ void ProjectAudioManager::OnRecord(bool altAppearance)
}
else {
if (numberOfSelected > 0 && rateOfSelected != options.rate) {
AudacityMessageBox(XO("TRACK SELECTION PROBLEM:\n"
"Not enough tracks are selected for recording on non-project rate.\n"
"(keep in mind that Audacity doesn\'t allow "
"using only one channel of a stereo track)"),
XO("Insufficient track selection"),
AudacityMessageBox(XO(
"Too few tracks are selected for recording at this sample rate.\n"
"(Audacity requires two channels at the same sample rate for\n"
"each stereo track)"),
XO("Too Few Compatible Tracks Selected"),
wxICON_ERROR | wxCENTRE);
return;

View File

@ -293,9 +293,9 @@ void OnTimerRecord(const CommandContext &context)
const bool allSameRate{ selectedTracks.allSameRate };
if (!allSameRate) {
AudacityMessageBox(XO("TRACK SELECTION PROBLEM:\nthe tracks selected "
AudacityMessageBox(XO("The tracks selected "
"for recording must all have the same sampling rate"),
XO("Unfitting track selection"),
XO("Mismatched Sampling Rates"),
wxICON_ERROR | wxCENTRE);
return;
@ -413,9 +413,9 @@ void OnPunchAndRoll(const CommandContext &context)
const bool allSameRate{ selectedTracks.allSameRate };
if (!allSameRate) {
AudacityMessageBox(XO("TRACK SELECTION PROBLEM:\nthe tracks selected "
AudacityMessageBox(XO("The tracks selected "
"for recording must all have the same sampling rate"),
XO("Unfitting track selection"),
XO("Mismatched Sampling Rates"),
wxICON_ERROR | wxCENTRE);
return;