Rest of the owl
This commit is contained in:
parent
5c9e327ff3
commit
c669aa8d55
7 changed files with 237 additions and 75 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue