summaryrefslogtreecommitdiff
path: root/apps/onplay.h
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2023-03-18 14:09:49 -0500
committerDana Conrad <dconrad@fastmail.com>2023-04-02 11:34:39 -0400
commitb31127db7d169153ac11ab71d8c202e7b95365e4 (patch)
treef6aae23705fc2dc256654288594046534d8b1244 /apps/onplay.h
parent287747591e9feafa0d5946e3f7614cec3987e2dc (diff)
downloadrockbox-b31127db7d169153ac11ab71d8c202e7b95365e4.tar.gz
rockbox-b31127db7d169153ac11ab71d8c202e7b95365e4.zip
[bugfix] x1000: Wait for FIFO to be empty rather than flushing
When data is not in packed-16-bit mode, flushing the fifo may result in swapping left and right channels if there happens to be an odd number of entries in the FIFO. This is especially likely when switching sample frequencies for some reason. When stopping PCM DMA, disable DMA and Underrun Interrupts and then wait for FIFO to be empty before stopping AIC's playback. Change-Id: I45b6b022c9e3889627842663cd9b7d2e0affb7c6
Diffstat (limited to 'apps/onplay.h')
0 files changed, 0 insertions, 0 deletions