forked from len0rd/rockbox
FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano).
* Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined. * Fix bug in AIFF encoder header creation on little endian targets. * Add recording screen keymaps for H10 and iPod. * Move pcm_playback PP specific code to target tree. * Add recording code to wmcodec drivers. * Add pcm_record code. Some problems still remain: * Playback doesn't work after recording until Rockbox is restarted. * Gain control not implemented. * Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz. * Line-in recording not tested on H10. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
440353a9aa
commit
df0dc2262e
24 changed files with 961 additions and 369 deletions
|
|
@ -314,8 +314,11 @@ static inline int set_irq_level(int level)
|
|||
return (cpsr >> 7) & 1;
|
||||
}
|
||||
|
||||
static inline void enable_fiq(void)
|
||||
static inline void enable_fiq(void(*fiq_handler)(void))
|
||||
{
|
||||
/* Install the FIQ handler */
|
||||
*((unsigned int*)(15*4)) = (unsigned int)fiq_handler;
|
||||
|
||||
/* Clear FIQ disable bit */
|
||||
asm volatile (
|
||||
"mrs r0, cpsr \n"\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue