Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AudioCommon: Convert alerts over to fmt-based variants #9291

Merged
merged 1 commit into from Nov 28, 2020

Conversation

lioncash
Copy link
Member

Continues the migration over to fmt

Copy link
Member

@BhaaLseN BhaaLseN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM, but I'm not sure if that one even makes sense being translated.

@@ -117,10 +117,10 @@ void WaveFileWriter::Write4(const char* ptr)
void WaveFileWriter::AddStereoSamplesBE(const short* sample_data, u32 count, int sample_rate)
{
if (!file)
PanicAlertT("WaveFileWriter - file not open.");
PanicAlertFmtT("WaveFileWriter - file not open.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels a bit weird that this one is translated but the other one is not. Both messages seem like they don't make too much sense being either translated or shown to the user (since they likely can't do much about it anyways)

Continues the migration over to fmt

Converts two panic alerts into error logs, since they aren't really
things a user can do anything about.
@leoetlino leoetlino merged commit a34f19c into dolphin-emu:master Nov 28, 2020
@lioncash lioncash deleted the alert-audio branch November 28, 2020 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants