This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10241 - ovarlay loader for Lua is made while lua.ovl is not made.
Attached to Project:
Rockbox
Opened by Teruaki Kawashima (teru) - Monday, 25 May 2009, 16:26 GMT+2
Last edited by Teruaki Kawashima (teru) - Saturday, 25 September 2010, 16:57 GMT+2
Opened by Teruaki Kawashima (teru) - Monday, 25 May 2009, 16:26 GMT+2
Last edited by Teruaki Kawashima (teru) - Saturday, 25 September 2010, 16:57 GMT+2
|
DetailsConfirmed with r21075.
I build rockbox for myself and noticed that there is two "lua.rock"s. One is "build-dir/apps/plugins/lua/lua.rock" and the other is "build-dir/apps/plugins/lua.rock". The latter seems to be a loader of lua.ovl, but lua.ovl doesn't exist. |
This task depends upon
Closed by Teruaki Kawashima (teru)
Saturday, 25 September 2010, 16:57 GMT+2
Reason for closing: Out of Date
Saturday, 25 September 2010, 16:57 GMT+2
Reason for closing: Out of Date
I think boomshine.lua needs to be surrounded by #if (PLUGIN_BUFFER_SIZE < 0x80000).
imho, it is better to comment out lua.c in SOURCES since currently lua doesn't comile for lowmem target.
btw, i'm bit confused by comment and conditions.
comment in SUBDIRS says that Lua needs at least 160 KB to work in.
but condition is (PLUGIN_BUFFER_SIZE >= 0x80000). 0x80000 is more than 3 times 160K.
and now lua.c is added inside #if (PLUGIN_BUFFER_SIZE < 0x10000). what about targets where 0x10000 <= PLUGIN_BUFFER_SIZE < 0x80000.
The #if (PLUGIN_BUFFER_SIZE >= 0x80000) in SUBDIRS is wrong, that should be changed (if we can get the overlay to build, that is).
I don't think boomshine.lua needs to be in an #if (PLUGIN_BUFFER_SIZE < 0x80000), unless there are targets that have less than 0x80000 audio buffer space?
Also, I just looked at apps/plugins/overlay.c and that mentions that the plugin shouldn't use audio buffer, however Lua does (when it runs out of plugin buffer); so I'm not sure whether currently it'll work on overlay targets.
Basically it comes to this: someone with a target running overlay plugins needs to take a look at this :)
my point was that including lua scripts while it isn't supported would confuse people.