Commit graph

118 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
3d2178148b Moved the car adapter mode handling to apps/, now every thread gets SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED events
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6255 a1c6a512-1295-4272-9138-f99709370657
2005-04-06 11:12:22 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
9253d4d5de iRiver: call pcm_init() instead of uda1380_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6236 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 06:50:34 +00:00
Henrik Backe
c1a951f524 Fixed link error for Archos Players/Recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6232 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 13:00:22 +00:00
Michiel Van Der Kolk
451dd48adc Sound api improvements, rockboy sound, contributed by xshock.
Playback of sound currently only works in boost mode, needs fixing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:00:24 +00:00
Linus Nielsen Feltzing
e7b993f1f6 main() now sets the default CPU frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6208 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 11:38:15 +00:00
Daniel Stenberg
8ef88a1815 Build Rockbox for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5759 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 08:36:43 +00:00
Jens Arnold
3c348df5ca Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:48:25 +00:00
Jens Arnold
0f04029293 New way of handling the builtin language strings. Now the string pointers are no longer stored as initialised data, but calculated by walking one long string containing all language strings separated by \0. While this doesn't need more RAM, it fixes the problem that loading incomplete .lng files after complete ones did not reset the missing strings to the default, and it also decreases the binary size by >1700 bytes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5608 a1c6a512-1295-4272-9138-f99709370657
2005-01-19 21:43:15 +00:00
Jens Arnold
76b257fd40 New channel configuration setting, allowing fine-grained control of the stereo width. This replaces the 'stereo narrow' and 'stereo wide' modes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5559 a1c6a512-1295-4272-9138-f99709370657
2005-01-12 00:24:15 +00:00
Jörg Hohensohn
7ee03d0493 killed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5519 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:33:32 +00:00
Jörg Hohensohn
1a5962f2be Shared mounting code, also more general. It will mount multiple HD partitions, too, once HAVE_MULTIVOLUME is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5518 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:10:24 +00:00
Jörg Hohensohn
da84857631 prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:16:07 +00:00
Jens Arnold
7197edd8e2 Player: Do not display charging screen on coldstart with charger connected if HD is powered. This is to suppress the charging screen for very old players which cannot control HD power, and relies on proper probing in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5488 a1c6a512-1295-4272-9138-f99709370657
2004-12-16 22:31:26 +00:00
Jens Arnold
67b17e118f Show rockbox logo again after leaving the charging screen, to provide better visual feedback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5455 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 09:29:51 +00:00
Björn Stenberg
e34567932e Fixed iriver simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5392 a1c6a512-1295-4272-9138-f99709370657
2004-11-09 19:55:28 +00:00
Jörg Hohensohn
ef8d508d5a tuner cleanup + improvements:
- use sleep and powerdown for those who can
- philips station search works now


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5306 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 08:20:38 +00:00
Jörg Hohensohn
4a5df8e8d1 oops, I broke the player build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5290 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 22:10:55 +00:00
Jörg Hohensohn
8f8fbac1fd Philips tuner prepared, new middle layer to abstract which tuner is used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5289 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 21:41:46 +00:00
Linus Nielsen Feltzing
688b4ddec6 iRiver: the backlight blink loop is now done in C, using two threads, as a test of the threading code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5283 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:16:31 +00:00
Jens Arnold
ccfa4cd97a Removed car adapter mode for Ondio, and changed the misleading config option HAVE_BATTERIES to the more appropriate HAVE_CHARGING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5242 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 01:25:32 +00:00
Jens Arnold
fb56ee6113 Moved Ondio main menu hack in order to properly browse fonts, langs, rocks and .wps files. This does only work after filetype_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5151 a1c6a512-1295-4272-9138-f99709370657
2004-10-02 12:10:16 +00:00
Jens Arnold
36056003b9 Adjusted temporary Ondio hack for new capabilities
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5130 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 21:41:10 +00:00
Jens Arnold
c12e87d881 The config sector number is now calculated from the lowest partition start sector. Needed for disks with sectors_per_track < 63, e.g. flash cards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5124 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 18:09:10 +00:00
Jens Arnold
2d875f83e6 Disabled all code for the serial remote on Ondio, since the serial port is needed for MMC access.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5097 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 22:15:35 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Jörg Hohensohn
82e9438e2e oh, I need to commit this Ondio hack, else nobody can test with the automated build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5080 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 08:02:07 +00:00
Jens Arnold
abe77a1a2a More const policeing step 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 21:50:57 +00:00
Linus Nielsen Feltzing
d659282f6d Removed some obsolete stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4937 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 17:57:02 +00:00
Linus Nielsen Feltzing
7bade1a24f Bass boost removed in favour of some new sound settings: Super bass and five new MDB parameters: strength, harmonics, center, shape and enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4839 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 12:17:14 +00:00
Linus Nielsen Feltzing
15124aa7c2 Now handles an empty disk better. This solves bug report #984690.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4832 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 22:13:20 +00:00
Jörg Hohensohn
6ff6d21d13 settings_load() is now split in RTC and HD part, so RTC settings get loaded early (car adapter mode)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4776 a1c6a512-1295-4272-9138-f99709370657
2004-06-19 15:50:02 +00:00
Linus Nielsen Feltzing
e85acf10c8 The USB monitoring started before the ATA thread, leading to badness when Rockbox was started from flash with the USB cable inserted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4685 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 21:49:04 +00:00
Linus Nielsen Feltzing
b81a3c54a4 We now start monitoring USB earlier, and can enter USB mode from the debug partition viewer. This fixes bug #799491.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4438 a1c6a512-1295-4272-9138-f99709370657
2004-03-25 12:29:34 +00:00
Jörg Hohensohn
4f36ea8fbf First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +00:00
Jörg Hohensohn
f993365447 Moved the low-level playback functionality into a new, separate module "mp3_playback". This e.g. allows to export a memory playback API to the plugins, opens the door to games with sound, UI sounds, etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4192 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 20:42:51 +00:00
Daniel Stenberg
7df25eb23c kill an "unused variable" compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4153 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:45:14 +00:00
Daniel Stenberg
8e43ccbec6 Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:34:27 +00:00
Jörg Hohensohn
44298163ba No more spinning disk while charging flashed FM+V2 (you need the new bootloader to utilize it). ToDo: remove now false voltage reading from charging screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4095 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 01:03:54 +00:00
Björn Stenberg
577e571958 Removed startup_io test code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4045 a1c6a512-1295-4272-9138-f99709370657
2003-11-20 00:01:13 +00:00
Linus Nielsen Feltzing
53ee344743 Slightly more correct initialization of the power/charging code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3940 a1c6a512-1295-4272-9138-f99709370657
2003-08-25 08:57:49 +00:00
Jörg Hohensohn
f80505c9d0 Diagnostic code added, to find init problems (charging, etc.) when flashed: the whole I/O space is saved on startup, can be dumped to a file via debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3912 a1c6a512-1295-4272-9138-f99709370657
2003-08-02 12:53:57 +00:00
Jörg Hohensohn
c4725df5e9 no more startup-rolo of ajbrec.ajz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3902 a1c6a512-1295-4272-9138-f99709370657
2003-07-29 20:41:10 +00:00
Jörg Hohensohn
020352c266 call power_init() before the charging screen may open, thus before ata_init(). No settings loaded yet, I hope this is not harmful.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3845 a1c6a512-1295-4272-9138-f99709370657
2003-07-18 21:58:28 +00:00
Jörg Hohensohn
5dd17b1857 A very basic charging screen, probably buggy, the pro's would make it much nicer, but it's a starting point.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3841 a1c6a512-1295-4272-9138-f99709370657
2003-07-17 20:29:51 +00:00
Jörg Hohensohn
c47f8c042c detect cold start (from flash) and look for archos.mod/ajbrec.ajz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3808 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 22:13:39 +00:00
Linus Nielsen Feltzing
fe6cf2d0e4 Fixed simulator core dump (forgot to call playlist_init)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3683 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 22:25:52 +00:00
Linus Nielsen Feltzing
67bea32c08 Moved the power_init() call to after the mpeg_init() call, this is supposed to solve the startup voltage bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3678 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 20:38:38 +00:00
Daniel Stenberg
b85f10319c call tree_init(); in the simulator as well as otherwise we always get
the dreaded "DIR BUFFER IS FULL" error


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3671 a1c6a512-1295-4272-9138-f99709370657
2003-05-14 06:38:17 +00:00
Linus Nielsen Feltzing
20d031f9c7 Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
2003-05-09 16:01:21 +00:00