Commit graph

77 commits

Author SHA1 Message Date
Jörg Hohensohn
7bd007a597 remove_thread() function added, for future dynamic thread creation by plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4562 a1c6a512-1295-4272-9138-f99709370657
2004-04-30 20:23:04 +00:00
Jens Arnold
38e8a117aa Unified usage of lcd transfer code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4536 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 09:39:29 +00:00
Linus Nielsen Feltzing
bc9397d1fa New function: rmdir(). Also some changes in the fat code, to track the parent directory in opendir(), to be able to delete directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4509 a1c6a512-1295-4272-9138-f99709370657
2004-04-16 08:58:29 +00:00
Linus Nielsen Feltzing
ef1698e648 Added cluster size to the disk debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4469 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 00:17:02 +00:00
Jörg Hohensohn
590e6af888 First try to get a better transition from a cancelled clip to a new one, by maintaining the frame sync. Doesn't seem to have much effect, though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4425 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 17:45:45 +00:00
Jörg Hohensohn
fa97f161ab Third step of the voice-UI: numerical settings are spoken (composed at runtime), needs new voicefont at the new location ".rockbox/langs/english.voice"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4414 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:15:53 +00:00
Linus Nielsen Feltzing
4b7c742fbe Increased the maximum battery capacity
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4388 a1c6a512-1295-4272-9138-f99709370657
2004-03-16 07:33:12 +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
81e309dd1a We had a few set_irq_level(15) left in the code, instead of the new set_irq_level(HIGHEST_IRQ_LEVEL). Only one was really used, in system_reboot(), creating a (unlikely) race condition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4374 a1c6a512-1295-4272-9138-f99709370657
2004-03-13 16:45:18 +00:00
Linus Nielsen Feltzing
111a972b65 Made set_irq_level() an inline function, and optimized it by removing the bit shifts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 11:32:59 +00:00
Linus Nielsen Feltzing
f9c780ccc1 The cli()/sti() functions are not safe. We should have removed them long ago.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4314 a1c6a512-1295-4272-9138-f99709370657
2004-02-25 13:00:36 +00:00
Linus Nielsen Feltzing
a258fe1887 Better charging feedback for FM/V2 devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4296 a1c6a512-1295-4272-9138-f99709370657
2004-02-05 13:44:04 +00:00
Jörg Hohensohn
73681ff4ef inconsistent argument type for backlight_set_timeout() fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4287 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 23:27:44 +00:00
Jörg Hohensohn
95298a9558 mp3 playback "engine" now in plugin API, rocks can make sound
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4285 a1c6a512-1295-4272-9138-f99709370657
2004-01-30 22:30:40 +00:00
Daniel Stenberg
d815ad6035 Added mpeg_next_track(), which returns a pointer to the id3 struct of the
upcoming song (if available).

Now we just need a WPS patch to make it possibly to display info based on
this!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4240 a1c6a512-1295-4272-9138-f99709370657
2004-01-15 15:32:49 +00:00
Linus Nielsen Feltzing
60b1c4bbe1 Implemented the mkdir() function in the FAT32 driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
2004-01-15 14:30:59 +00:00
Jörg Hohensohn
ec5d44627f next round of playback function split: everything in place, working and used; except for the playtime
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4218 a1c6a512-1295-4272-9138-f99709370657
2004-01-10 15:39:56 +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
Linus Nielsen Feltzing
74976c1484 New recording feature: Prerecord up to 30 seconds before you press the Play key. Especially useful for FM radio recording. Also fixed a bug which didn't apply the recording settings correctly in the Radio screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4183 a1c6a512-1295-4272-9138-f99709370657
2003-12-31 03:13:29 +00:00
Jörg Hohensohn
5040cc53ec Screen buffer transposed, such that bytes in X-direction are consecutive. This enables my turbocharged lcd_write_data() for regular screen updates. Please check the X11 sim, Win32 works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4177 a1c6a512-1295-4272-9138-f99709370657
2003-12-23 23:41:45 +00:00
Jörg Hohensohn
a5e1d06354 Upside Down option for display (and buttons) now wired into the display settings menu, persistence, simulator stubs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4168 a1c6a512-1295-4272-9138-f99709370657
2003-12-20 10:00:37 +00:00
Daniel Stenberg
42ea60e459 Without having a clue about the actual platform, I hereby announce that the
Neo players' "select" button works as the "ON" button does on the Archos
players. I thus #define BUTTON_ON to the select one, to make the code all
over automaticly adjust to this fact.

If the select key turns out to be a bad choice, it should be easy to change
here to a more suitable key.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4157 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 13:14:23 +00:00
Jörg Hohensohn
56271b571a LCD flip (upside down) and a high-performance blit function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4143 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 22:11:08 +00:00
Daniel Stenberg
8d69f78423 Additional Neo support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4132 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:29:11 +00:00
Daniel Stenberg
c4b73634fe first attempt at Neo 35 config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4131 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:24:04 +00:00
Hardeep Sidhu
00acdfa6ef Added viewer for currently playing playlist. Accessed from Menu->Playlist Options->View Current Playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4124 a1c6a512-1295-4272-9138-f99709370657
2003-12-10 00:11:25 +00:00
Jörg Hohensohn
eb28d43cd7 for FM and V2: removed the now false voltage reading from charging screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4096 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 07:05:13 +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
Daniel Stenberg
23e056e41b new usb-style defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4073 a1c6a512-1295-4272-9138-f99709370657
2003-11-27 21:24:02 +00:00
Daniel Stenberg
50eb373fba Use a proper config file for the v2, although it looks like the FM one now.
Possibly it should have radio off defined somehow


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4072 a1c6a512-1295-4272-9138-f99709370657
2003-11-27 21:23:48 +00:00
Daniel Stenberg
e4adcee6cb like an FM recorder
gee, I should have more coffee before I commit in the mornings


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4040 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 07:15:02 +00:00
Daniel Stenberg
d81ee8c468 For now, load the fm recorder config for v2 recorders too. It seems some of
the v2 units even has an fm unit!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4037 a1c6a512-1295-4272-9138-f99709370657
2003-11-19 06:41:43 +00:00
Linus Nielsen Feltzing
bef7ab0c26 The code police strikes back
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4024 a1c6a512-1295-4272-9138-f99709370657
2003-11-07 12:15:24 +00:00
Jörg Hohensohn
0dd7d48c3a set/clear port bits with atomic instructions instead of read-modify-write, saves time+space, allows port usage in ISR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4023 a1c6a512-1295-4272-9138-f99709370657
2003-11-06 07:08:22 +00:00
Linus Nielsen Feltzing
24a8b6ad09 Frame-accurate file splits when recording. Now the PLAY button closes the current file and opens a new one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3998 a1c6a512-1295-4272-9138-f99709370657
2003-11-02 11:24:38 +00:00
Björn Stenberg
b1c429e6fb Car Ignition Auto Stop (patch #736339 by Craig Sather)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3976 a1c6a512-1295-4272-9138-f99709370657
2003-10-17 14:49:00 +00:00
Linus Nielsen Feltzing
65a17b848a More linker safe MP3 buffer handling in the simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3972 a1c6a512-1295-4272-9138-f99709370657
2003-10-14 10:18:22 +00:00
Hardeep Sidhu
4160b75456 Pass actual time instead of offset to mpeg_ff_rewind. Fixes ff/rew to wrong time when mpeg thread is busy loading data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3943 a1c6a512-1295-4272-9138-f99709370657
2003-08-29 04:36:35 +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
Linus Nielsen Feltzing
4bb3f80f27 Setting the lowest mic gain no longer turns off the mic (bug #774349)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3865 a1c6a512-1295-4272-9138-f99709370657
2003-07-22 18:34:23 +00:00
Björn Stenberg
067262dbf0 Moved lcd default contrast knowledge from settings.c to lcd driver. Now lcd_init sets default contrast until settings are read.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3824 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 23:07:49 +00:00
Jörg Hohensohn
d4735224bb I needed a function to return the physical USB detect
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3807 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 22:11:14 +00:00
Björn Stenberg
0dcc4a6fb9 Added multiple inclusion protection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3767 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 14:57:44 +00:00
Linus Nielsen Feltzing
9fb2d34447 Default contrast is now autodetected on recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3761 a1c6a512-1295-4272-9138-f99709370657
2003-06-25 23:24:47 +00:00
Linus Nielsen Feltzing
c6db7870ef Slightly better handling of disk-full situations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3756 a1c6a512-1295-4272-9138-f99709370657
2003-06-19 12:08:22 +00:00
Björn Stenberg
8498a48496 Generalized id3v2 parsing code. Added support for the composer frame and free-form genre and tracknum frames. (Patch #706111 by Thomas Paul Diffenbach)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3727 a1c6a512-1295-4272-9138-f99709370657
2003-06-04 15:09:35 +00:00
Hardeep Sidhu
fc9b28d0a9 Small seek optimization -- begin seek at last read cluster if possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3720 a1c6a512-1295-4272-9138-f99709370657
2003-06-03 18:04:22 +00:00
Kjell Ericson
6143eeb22b Added "jump scroll delay" (for player).
Added that you can set how many times the jump scroll shall occur (max 5 times)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3697 a1c6a512-1295-4272-9138-f99709370657
2003-05-27 12:54:11 +00:00
Kjell Ericson
36a28c9bcd Declaring the jump scroll function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3694 a1c6a512-1295-4272-9138-f99709370657
2003-05-22 06:43:11 +00:00
Linus Nielsen Feltzing
159d04d3f9 Experiment: enable ATA STANDBY when switching to USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3668 a1c6a512-1295-4272-9138-f99709370657
2003-05-10 01:55:23 +00:00