mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-12 06:32:34 -05:00
More M:Robe 500 work: PCM stopping and pausing roughly works, added some keymaps for the WPS screen, and peakmeter now works properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20511 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a5501d68cc
commit
2670e3f038
11 changed files with 210 additions and 117 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include "arm.h"
|
||||
#include "registers.h"
|
||||
#include "ipc.h"
|
||||
#include "dma.h"
|
||||
|
||||
volatile struct ipc_message status;
|
||||
|
||||
|
|
@ -33,7 +34,19 @@ interrupt void handle_int0(void) {
|
|||
IFR = 1;
|
||||
acked = 1;
|
||||
waiting = 0;
|
||||
rebuffer();
|
||||
|
||||
if(dma0_stopped==0)
|
||||
{
|
||||
if(!(DMPREC&0x01))
|
||||
{
|
||||
DMPREC |= 1;
|
||||
audiohw_start();
|
||||
}
|
||||
else
|
||||
{
|
||||
rebuffer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void startack(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue