service/mic: actually use the specified device
This commit is contained in:
@ -11,6 +11,8 @@
|
||||
|
||||
namespace Frontend::Mic {
|
||||
|
||||
constexpr char default_device_name[] = "Default";
|
||||
|
||||
enum class Signedness : u8 {
|
||||
Signed,
|
||||
Unsigned,
|
||||
|
@ -326,7 +326,7 @@ struct MIC_U::Impl {
|
||||
break;
|
||||
case Settings::MicInputType::Real:
|
||||
#if HAVE_CUBEB
|
||||
new_mic = std::make_unique<AudioCore::CubebInput>();
|
||||
new_mic = std::make_unique<AudioCore::CubebInput>(Settings::values.mic_input_device);
|
||||
#else
|
||||
new_mic = std::make_unique<Frontend::Mic::NullMic>();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user