Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: PP5020 IIS interrupt question

Re: PP5020 IIS interrupt question

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Tue, 09 Sep 2008 08:41:32 +0200

Lees, Christian wrote:
> I am writing a recording plugin for a Iriver H10. Since I need to be
> able to record at 96kHz and 24bit I've decided to not use the plugin api
> recording function.

Are you absolutely sure that the PortalPlayer IIS can handle 24 bits
96kHz? I'm not so sure about that.

> The problem I am currently having is with the FIQ
> interrupt. I have used quite a bit of code from pcm-pp.c and pcm.c but
> I may have missed something. If I disable the interrupt or the codec
> then it all runs fin, but obviously doesn't record anything. When I
> enable the interrupt and the codec it crashes. Since I have to run this
> on the actual hardware its hard to debug. How is the fiq_handler
> inserted into the table? Is it just done when it is defined as in
> pcm-pp.c?

It is done by the linker at compile time.

Your plugin uses direct calls into the rockbox firmware, trying to
bypass the plugin API. This is doomed to not work at all. If the only
reason you do this is 24-bit 96kHz recording, why not submit a patch so
we can include that in the core, and let you use the regular recording API?

Linus
Received on 2008-09-09

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy