mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
core: infrastructure for alternate sampling rate
New parameter to avoid resampling. BIG power savings here... Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This commit is contained in:
parent
31a9f195fa
commit
5bcfd2b630
9 changed files with 97 additions and 2 deletions
|
|
@ -1013,6 +1013,7 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
|
||||
c->default_sample_spec = conf->default_sample_spec;
|
||||
c->alternate_sample_rate = conf->alternate_sample_rate;
|
||||
c->default_channel_map = conf->default_channel_map;
|
||||
c->default_n_fragments = conf->default_n_fragments;
|
||||
c->default_fragment_size_msec = conf->default_fragment_size_msec;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue