Rest of the owl
This commit is contained in:
@ -63,10 +63,13 @@ void Apply() {
|
||||
// TODO support mic hotswapping by creating the new impl, and copying any parameters to it.
|
||||
switch (Settings::values.mic_input_type) {
|
||||
case 0:
|
||||
Frontend::RegisterMic(std::make_shared<Frontend::Mic::NullMic>());
|
||||
Frontend::Mic::RegisterMic(std::make_shared<Frontend::Mic::NullMic>());
|
||||
break;
|
||||
case 1:
|
||||
Frontend::RegisterMic(std::make_shared<AudioCore::CubebInput>());
|
||||
Frontend::Mic::RegisterMic(std::make_shared<AudioCore::CubebInput>());
|
||||
break;
|
||||
case 2:
|
||||
Frontend::Mic::RegisterMic(std::make_shared<Frontend::Mic::StaticMic>());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user