Rockbox Development > Starting Development and Compiling

Pointers are killing me...Help needed.

<< < (2/4) > >>

iR0x:
Well I guess so, but suppose one would have music playing in the background -
wouldn't the device "lock up" or become slow as hell?

PS: I so much appreciate being helped out so quicly - thanks guys.

GodEater:

--- Quote from: iR0x on January 05, 2007, 03:19:18 PM ---Well I guess so, but suppose one would have music playing in the background -
wouldn't the device "lock up" or become slow as hell?
--- End quote ---

I believe the plugin buffer is designed to be both seperate from the audio buffer, and optimised as much as possible for each target to leave a large enough audio buffer so that what you're describing doesn't happen.

iR0x:

--- Quote from: Rincewind on January 05, 2007, 02:05:15 PM ---just make a huuuge static array?  ;D

--- End quote ---

Well I guess thats what I will be doing then  :P

saratoga:

--- Quote from: iR0x on January 05, 2007, 03:43:00 PM ---
--- Quote from: Rincewind on January 05, 2007, 02:05:15 PM ---just make a huuuge static array?  ;D

--- End quote ---

Well I guess thats what I will be doing then  :P

--- End quote ---

That should be pretty safe.  You could just make an array of pointers to file structs, and be only out 4 bytes per entry.  So even with a 1000 files as your max, you'd only have

iR0x:
Okay well thanks everyone... I'll do that.

Just to know..how much ram is there on iPod's 5g?
And if anyone knows...CPU speed?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version