3 Commits

Author SHA1 Message Date
Andrea Bondavalli
8a5600638b Reworked driver PCM interface to simplify and unify handling of memory mapped and read-write interleaved modes.
Removed driver copy_user(), copy_kernel() and fill_silence() ops.
Removed user space buffer transfer handling mode from playback and capture copy_internal() functions.
2021-02-12 16:35:07 +01:00
Andrea Bondavalli
af25380763 Fix to patch for corruption in read-write mode to preserve playback buffer cleanup (mute) on first IO start but to avoid it at subsequent 2021-02-05 12:26:12 +01:00
Andrea Bondavalli
77cf7bdb28 Added patch to Ravenna driver to fix a problem that leads to an initial playback buffer corruption in case the read/write interleaved mode is used.
The problem arises from pre-buffering performed after ALSA prepare and before ALSA start trigger-
The patch enables the early startup of the audio playback interrupt and disables the cleanup (mute) of the playback buffer.
This issue can be reproduced using the test suite developed to investigate #17 and by removing the (-M) option from aplay in run_test.sh script.
2021-02-03 18:41:00 +01:00