Rockbox mail archive
Subject: Re: development questions
Re: development questions
>Date: Mon, 17 Jan 2005 08:53:14 +0100
>From: Linus Nielsen Feltzing <firstname.lastname@example.org>
>Ray Lambert wrote:
>>> Since my post, I've found a new way to do from mpeg.c which was
>>> pretty easy and seems to be more accurate. I put the check in
>>> playback_tick() (since that's where id3->elapsed gets updated). This
>>> seems to work very well but I'm not sure if it's a good design
>>> decision to put my code there.
>That's where I would put it. [...]
>I think it sounds perfectly OK.
>Bring on the patch! :-)
Okay, I have just one more question for you.
I've implemented most of the functionality in a new module called
abrepeat.c/h. I initially placed this module in 'apps'. However, I am
now calling it from mpeg.c, which, of course, cannot access abrepeat.h
over in apps (and also therefore can't see the #define that disables it
all). I've been calling it by put putting extern's in mpeg.c. (There
are other things that do that as well, such as playlist.c.) But this is
I'm wondering if I should move abrepeat.c/h into the firmware directory
and export the header. I'm not sure if this module meets the criteria
for 'firmware' though (which seems to be low-level & kernel stuff).
What do you prefer?
Thanks again for all your help!
Received on Mon Jan 17 18:09:03 2005
Page was last modified "Jan 10 2012" The Rockbox Crew