output/wasapi: cast to `const char *` for fmt 10 compatible

This commit is contained in:
Shen-Ta Hsieh 2023-05-30 14:06:48 +08:00 committed by Max Kellermann
parent 8df77122e5
commit 38f1237d49
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -4,6 +4,7 @@ ver 0.23.14 (not yet released)
- mad: fix calculation of LAME peak values
* mixer
- wasapi: fix problem setting volume
* more libfmt 10 fixes
ver 0.23.13 (2023/05/22)
* input

View File

@ -1026,7 +1026,7 @@ WasapiOutput::EnumerateDevices(IMMDeviceEnumerator &enumerator)
continue;
FmtNotice(wasapi_output_domain,
"Device \"{}\" \"{}\"", i, name);
"Device \"{}\" \"{}\"", i, name.c_str());
}
}