diff options
| author | Oswald Buddenhagen <[email protected]> | 2023-05-18 16:03:38 +0200 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-05-18 16:41:19 +0200 |
| commit | 08e55ae996cbdbd76c3eb12fcad6cc79cba7ddbc (patch) | |
| tree | c73f7ff93eec45ea080d289cc7cc1bac427bcd7f /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5c2664cc09f94ba11c61908d5c7dac1c35d6dee8 (diff) | |
ALSA: emu10k1: enable bit-exact playback, part 3: pitch
CPF_CURRENTPITCH starts swerving towards PTRX_PITCHTARGET as soon as
that is set. In practice this means that CPF_FRACADDRESS may acquire a
non-zero value before we manage to force CPF_CURRENTPITCH to the final
value, which would prevent bit-for-bit reproduction.
To avoid that this state persists, we now reset CPF_FRACADDRESS when
setting CPF_CURRENTPITCH, and to (mostly) avoid that it progresses too
far in the first place (possibly even reaching CCCA_CURRADDR), we write
PTRX and CPF in one critical section (though NMIs, etc. still make this
unreliable).
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions