aboutsummaryrefslogtreecommitdiff
path: root/qapi/qom.json
diff options
context:
space:
mode:
authorVolker Rümelin <vr_qemu@t-online.de>2023-09-17 08:58:06 +0200
committerPatchew Applier <no-reply@patchew.org>2023-10-10 12:31:05 +0000
commit00e3b29d065f3b88bb3726afbd5c73f8b2bff1b4 (patch)
tree564996ba978719bd26011ceffdea2ffa54da6a05 /qapi/qom.json
parentcea3ea670fe265421131aad90c36fbb87bc4d206 (diff)
downloadqemu-00e3b29d065f3b88bb3726afbd5c73f8b2bff1b4.zip
qemu-00e3b29d065f3b88bb3726afbd5c73f8b2bff1b4.tar.gz
qemu-00e3b29d065f3b88bb3726afbd5c73f8b2bff1b4.tar.bz2
hw/audio/es1370: reset current sample counter
Reset the current sample counter when writing the Channel Sample Count Register. The Linux ens1370 driver and the AROS sb128 driver expect the current sample counter counts down from sample count to 0 after a write to the Channel Sample Count Register. Currently the current sample counter starts from 0 after a reset or the last count when the counter was stopped. The current sample counter is used to raise an interrupt whenever a complete buffer was transferred. When the counter starts with a value lower than the reload value, the interrupt triggeres before the buffer was completly transferred. This may lead to corrupted audio streams. Tested-by: Rene Engel <ReneEngel80@emailn.de> Signed-off-by: Volker Rümelin <vr_qemu@t-online.de> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Tested-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <20230917065813.6692-1-vr_qemu@t-online.de>
Diffstat (limited to 'qapi/qom.json')
0 files changed, 0 insertions, 0 deletions