mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
Use PBD::to_string to convert bufsize to string in EngineControl class
string_compose uses std::ostream/stringstream which will insert thousands separators in some locales. This was not a problem when LocaleGuard set the global C++ locale to "C"
This commit is contained in:
parent
df2b0e33b9
commit
0739bada9e
1 changed files with 1 additions and 1 deletions
|
|
@ -1608,7 +1608,7 @@ EngineControl::output_device_changed ()
|
||||||
string
|
string
|
||||||
EngineControl::bufsize_as_string (uint32_t sz)
|
EngineControl::bufsize_as_string (uint32_t sz)
|
||||||
{
|
{
|
||||||
return string_compose (P_("%1 sample", "%1 samples", sz), sz);
|
return string_compose (P_("%1 sample", "%1 samples", sz), to_string(sz));
|
||||||
}
|
}
|
||||||
|
|
||||||
string
|
string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue