early-access version 2832

This commit is contained in:
pineappleEA
2022-07-14 00:15:38 +02:00
parent 18b71d75ce
commit 23cb074b8a
3 changed files with 15 additions and 5 deletions

View File

@@ -499,6 +499,7 @@ CubebSink::CubebSink(std::string_view target_device_name) {
}
}
// TODO: Implement upmixing, not all games will provide 6 channel audio.
cubeb_get_max_channel_count(ctx, &device_channels);
device_channels = std::clamp(device_channels, 2U, 6U);
}