mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix plugin group socket name generation
I'm pretty sure you're supposed to be able to format `size_t` values, why does this break the stringstream?
This commit is contained in:
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
and this project adheres to [Semantic
|
and this project adheres to [Semantic
|
||||||
Versioning](https://semver.org/spec/v2.0.0.html).
|
Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed plugin group socket name generation. This prevented plugin groups with
|
||||||
|
the same name from being used simultaneously in multiple Wine prefixes.
|
||||||
|
|
||||||
## [1.2.0] - 2020-05-29
|
## [1.2.0] - 2020-05-29
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -170,7 +170,9 @@ boost::filesystem::path generate_group_endpoint(
|
|||||||
PluginArchitecture architecture) {
|
PluginArchitecture architecture) {
|
||||||
std::ostringstream socket_name;
|
std::ostringstream socket_name;
|
||||||
socket_name << "yabridge-group-" << group_name << "-"
|
socket_name << "yabridge-group-" << group_name << "-"
|
||||||
<< std::hash<std::string>{}(wine_prefix.string()) << "-";
|
<< std::to_string(
|
||||||
|
std::hash<std::string>{}(wine_prefix.string()))
|
||||||
|
<< "-";
|
||||||
switch (architecture) {
|
switch (architecture) {
|
||||||
case PluginArchitecture::vst_32:
|
case PluginArchitecture::vst_32:
|
||||||
socket_name << "x32";
|
socket_name << "x32";
|
||||||
|
|||||||
Reference in New Issue
Block a user