diff options
| author | Oswald Buddenhagen <[email protected]> | 2023-05-17 19:42:54 +0200 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-05-18 07:30:34 +0200 |
| commit | 9e72666b9ee1140b7ecc66abc30b1c694ed7a6a0 (patch) | |
| tree | ecc0e55ec587f2608abce31bd969532f77bd42ce /tools/perf/scripts/python/task-analyzer.py | |
| parent | 5b1cd21f0f05757e724e18a599b391689f8565fc (diff) | |
ALSA: emu10k1: improve API of low-level voice manipulation functions
Originally, there was a 1:1 relationship between the PCM streams' and
the low-level voices' parameters. The addition of multi-channel playback
partially invalidated that, but didn't introduce proper layering, so
things kept working only by virtue of the multi-channel device never
having two channels (yet). The upcoming addition of 32-bit playback
would complete upending the relationships.
So this patch detaches the low-level parameters from the high-level
ones: we pass pre-calculated bit width and stereo flags to the low-level
manipulation functions instead of calculating them in-place from the
stream parameters.
Signed-off-by: Oswald Buddenhagen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions