forked from len0rd/rockbox
Fix up the recording monitoring for e200 and I expect for c200 as well whenever recording is enabled there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14980 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
84fcf967e4
commit
84d28e8f78
1 changed files with 11 additions and 0 deletions
|
@ -406,6 +406,11 @@ void fiq_record(void)
|
|||
|
||||
/* TODO: Figure out how to do IIS loopback */
|
||||
if (audio_output_source != AUDIO_SRC_PLAYBACK) {
|
||||
if ((IISFIFO_CFG & (0x3f << 16)) >= (16 << 16)) {
|
||||
/* Resync the output FIFO - it ran dry */
|
||||
IISFIFO_WR = 0;
|
||||
IISFIFO_WR = 0;
|
||||
}
|
||||
IISFIFO_WR = value1;
|
||||
IISFIFO_WR = value1;
|
||||
}
|
||||
|
@ -428,6 +433,12 @@ void fiq_record(void)
|
|||
p_size -= 4;
|
||||
|
||||
if (audio_output_source != AUDIO_SRC_PLAYBACK) {
|
||||
if ((IISFIFO_CFG & (0x3f << 16)) >= (16 << 16)) {
|
||||
/* Resync the output FIFO - it ran dry */
|
||||
IISFIFO_WR = 0;
|
||||
IISFIFO_WR = 0;
|
||||
}
|
||||
|
||||
value1 = *((int32_t *)p - 1);
|
||||
IISFIFO_WR = value1;
|
||||
IISFIFO_WR = value1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue