Re: Nested functions

2007-03-24 Thread Hardeep Sidhu
I just encountered a problem with compiling nested functions for the Mac OS X simulator. Xcode disables them by default so you need to add the "-fnested-functions" flag. Unfortunately, this flag doesn't work well with libtool. I can probably play around with the makefiles to get this wor

Re: 3.0 release announcement

2006-05-15 Thread Hardeep Sidhu
George Styles wrote: ps. I saw mention of a previous engine - is this from the last few weeks, or further back? i havent used rockbox for a few weeks now. If the new engine is newer than that, my comment is -5 offtopic! For anyone seeing problems, please try the latest CVS build before report

Re: Suspicious code in playlist.c?

2006-04-03 Thread Hardeep Sidhu
[EMAIL PROTECTED] wrote: 1. This code in playlist.c look suspicious: playlist->amount is only tested against playlist->max_playlist_size AFTER playlist_>amount is used as an array index. (Lines 510, 513, 515.) 2. And, if amount >= max_playlist_size, the function returns without calling queue_

Re: Track skipping & shuffling cause hard lockups.

2006-04-03 Thread Hardeep Sidhu
gl wrote: OK, the lockup is specific to having _both_ shuffle and repeat-shuffle enabled. It's caused by this call in playlist.c, line 2431: playlist_start(0, 0); It seems extraneous and causes a deadlock in the playback queue system - removing it fixes the problem. Thanks for investigatin

Re: MSDev sim project?

2006-02-12 Thread Hardeep Sidhu
[IDC]Dragon wrote: The sim used to be able to be built in MSDev, but not anymore. Did something break compatibility or was it just not maintained? I'm happy to update an old project if there is one. It was me who once made the MSDev6 project for Rockbox. It's ages old, prior to t

Re: amiconn: apps settings.c,1.319,1.320

2005-11-07 Thread Hardeep Sidhu
Linus Nielsen Feltzing wrote: Jens Arnold wrote: The 'skip to next folder' part of it (which was implemented before under that name) does work on archos. Yes, it works, but not fully. As I wrote in my previous email, it only works forward, not backward. You can't go to the previous director