From 38f1237d492c0cb5367f9780ddc15344eaf16e08 Mon Sep 17 00:00:00 2001 From: Shen-Ta Hsieh Date: Tue, 30 May 2023 14:06:48 +0800 Subject: [PATCH] output/wasapi: cast to `const char *` for fmt 10 compatible --- NEWS | 1 + src/output/plugins/wasapi/WasapiOutputPlugin.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index c2ffcccfa..61dfa96d0 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx index 992dc2e67..eda76f2b7 100644 --- a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx +++ b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx @@ -1026,7 +1026,7 @@ WasapiOutput::EnumerateDevices(IMMDeviceEnumerator &enumerator) continue; FmtNotice(wasapi_output_domain, - "Device \"{}\" \"{}\"", i, name); + "Device \"{}\" \"{}\"", i, name.c_str()); } }