mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Deal with a complication when transferring recording method from PP5024: since the FIFO POP is always read until empty, keep track of sample parity instead of always saving the first one in the FIFO upon entering the ISR or else the first of a duplicate that is also the last in the FIFO would get duplicated. Also, give top priority to audio interrupts in all cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31218 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5c1e936592
commit
184459fa54
5 changed files with 53 additions and 42 deletions
|
|
@ -137,7 +137,7 @@ void INT_DMAC(void)
|
|||
{
|
||||
unsigned int channel;
|
||||
|
||||
/* SD channel is serviced first */
|
||||
/* Lowest channel index is serviced first */
|
||||
for(channel = 0; channel < 2; channel++)
|
||||
if(DMAC_INT_STATUS & (1<<channel))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue