Have GetActiveChannelCount return the system channels instead of host device channels

This commit is contained in:
Kelebek1
2023-12-13 06:26:20 +00:00
committed by Liam
parent a093f3d47a
commit ffbba74c91
5 changed files with 43 additions and 20 deletions

View File

@ -253,8 +253,9 @@ CubebSink::~CubebSink() {
#endif
}
SinkStream* CubebSink::AcquireSinkStream(Core::System& system, u32 system_channels,
SinkStream* CubebSink::AcquireSinkStream(Core::System& system, u32 system_channels_,
const std::string& name, StreamType type) {
system_channels = system_channels_;
SinkStreamPtr& stream = sink_streams.emplace_back(std::make_unique<CubebSinkStream>(
ctx, device_channels, system_channels, output_device, input_device, name, type, system));