| 98 | } |
| 99 | |
| 100 | AudioAPIPtr 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 | |
| 107 | AudioAPIPtr IAudioAPI::CreateDeviceFromConfig(bool TV, sint32 rate, sint32 channels, sint32 samples_per_block, sint32 bits_per_sample) |
| 108 | { |
nothing calls this directly
no test coverage detected