input/plugins/AlsaInputPlugin: change default device to default and default format to 48000:16:2
using the device "default" brings this plugin into line with the AlsaOutputPlugin; and a sample rate of 48kHz is more widely used as a native default for modern hardware than 44.1kHz Also fixes an inconsistency between the docs and code.
This commit is contained in:
@@ -52,8 +52,8 @@ static constexpr Domain alsa_input_domain("alsa");
|
||||
|
||||
static constexpr auto ALSA_URI_PREFIX = "alsa://";
|
||||
|
||||
static constexpr auto BUILTIN_DEFAULT_DEVICE = "hw:0,0";
|
||||
static constexpr auto BUILTIN_DEFAULT_FORMAT = "44100:16:2";
|
||||
static constexpr auto BUILTIN_DEFAULT_DEVICE = "default";
|
||||
static constexpr auto BUILTIN_DEFAULT_FORMAT = "48000:16:2";
|
||||
|
||||
static constexpr auto DEFAULT_BUFFER_TIME = std::chrono::milliseconds(1000);
|
||||
static constexpr auto DEFAULT_RESUME_TIME = DEFAULT_BUFFER_TIME / 2;
|
||||
|
Reference in New Issue
Block a user