MCPcopy Create free account
hub / github.com/cemu-project/Cemu / CreateDeviceFromConfig

Method CreateDeviceFromConfig

src/audio/IAudioAPI.cpp:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100AudioAPIPtr IAudioAPI::CreateDeviceFromConfig(bool TV, sint32 rate, sint32 samples_per_block, sint32 bits_per_sample)
101{
102 auto& config = GetConfig();
103 sint32 channels = CemuConfig::AudioChannelsToNChannels(TV ? config.tv_channels : config.pad_channels);
104 return CreateDeviceFromConfig(TV, rate, channels, samples_per_block, bits_per_sample);
105}
106
107AudioAPIPtr IAudioAPI::CreateDeviceFromConfig(bool TV, sint32 rate, sint32 channels, sint32 samples_per_block, sint32 bits_per_sample)
108{

Callers

nothing calls this directly

Calls 5

emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
GetIdentifierMethod · 0.45
SetVolumeMethod · 0.45

Tested by

no test coverage detected