mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
alsa: support for alternate sampling rate
This is where the actual changes happen. Some additional checks would be required to make sure the rate is actually supported Tested with both PCM and passthrough streams Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
parent
f0ec495938
commit
b232fbd8f8
4 changed files with 48 additions and 50 deletions
|
|
@ -45,6 +45,7 @@ PA_MODULE_USAGE(
|
|||
"device_id=<ALSA card index> "
|
||||
"format=<sample format> "
|
||||
"rate=<sample rate> "
|
||||
"alternate_rate=<alternate sample rate> "
|
||||
"channels=<number of channels> "
|
||||
"channel_map=<channel map> "
|
||||
"fragments=<number of fragments> "
|
||||
|
|
@ -69,6 +70,7 @@ static const char* const valid_modargs[] = {
|
|||
"device_id",
|
||||
"format",
|
||||
"rate",
|
||||
"alternate_rate",
|
||||
"channels",
|
||||
"channel_map",
|
||||
"fragments",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue