Linus Nielsen Feltzing
d34865a530
mp3buf renamed to audiobuf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +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
Daniel Stenberg
22b7701fe7
Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
...
between uisimulator files and firmware/apps files are better done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Linus Nielsen Feltzing
b9c9d80fef
Recursive insert now works again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6028 a1c6a512-1295-4272-9138-f99709370657
2005-02-21 23:38:13 +00:00
Jean-Philippe Bernardy
5203f0645e
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5934 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 12:57:16 +00:00
Björn Stenberg
3c10fd592c
Fixed 'Insert directory' bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5788 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 13:20:25 +00:00
Björn Stenberg
30d8f6192f
Added music playing from ID3 browser.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5616 a1c6a512-1295-4272-9138-f99709370657
2005-01-20 16:24:26 +00:00
Björn Stenberg
cdd79a35d4
Repaired broken resume
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5596 a1c6a512-1295-4272-9138-f99709370657
2005-01-18 22:50:47 +00:00
Björn Stenberg
84c7d88021
Added support for very large tables in ID3 database.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5595 a1c6a512-1295-4272-9138-f99709370657
2005-01-18 22:45:00 +00:00
Björn Stenberg
a50cc0bd34
Minor tweaks to compile on win32.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5578 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 12:56:00 +00:00
Björn Stenberg
8a5de5fec9
Added ID3 database support. Still very early.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5575 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 11:39:46 +00:00
Linus Nielsen Feltzing
1c9ab1ba69
Reverted to the earlier modulo method for creating a range of random numbers, since the new method could generate too large numbers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5386 a1c6a512-1295-4272-9138-f99709370657
2004-11-06 23:37:21 +00:00
Jörg Hohensohn
593cc00447
a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-28 22:13:26 +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
Henrik Backe
66b45eeb59
Added check for missing .rockbox directory to playlist code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5063 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 20:51:12 +00:00
Jörg Hohensohn
24c7c04899
adjustment for the Ondio: button driver has an Odio part, for now it has a Player layout. Some fixes in the app code were necessary to remove dependencies of LCD, keypad, this wasn't independent everywhere.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5055 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 10:51:54 +00:00
Jens Arnold
cd12a03cf9
Since open() does now handle O_TRUNC correctly, the previous fix is no longer needed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5049 a1c6a512-1295-4272-9138-f99709370657
2004-09-06 23:44:22 +00:00
Jens Arnold
ac9ad1a25d
Bug fix: Longish .playlist_control files got corrupted when doing ON->resume after stop without rebooting first
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5033 a1c6a512-1295-4272-9138-f99709370657
2004-09-01 21:34:20 +00:00
Jens Arnold
943ac26cf6
Reverted an erroneous const, and fixed & optimized relative path handling. The bug didn't show up because FAT is inherently able to handle relative paths itself.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5028 a1c6a512-1295-4272-9138-f99709370657
2004-08-31 23:44:24 +00:00
Jens Arnold
8fb336148f
Const policed pointer arguments to functions, part 3
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Hardeep Sidhu
586ec8274d
Added extra error reporting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4981 a1c6a512-1295-4272-9138-f99709370657
2004-08-02 05:11:20 +00:00
Linus Nielsen Feltzing
12bf7f39b1
Slightly better randomness when shuffling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4922 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 10:45:16 +00:00
Hardeep Sidhu
2459d23d0b
Abort resume if control file doesn't end with a newline. Fixes hang when resuming from a corrupt control file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4882 a1c6a512-1295-4272-9138-f99709370657
2004-07-14 18:02:38 +00:00
Linus Nielsen Feltzing
fbca8aaa19
Some code cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4480 a1c6a512-1295-4272-9138-f99709370657
2004-04-09 17:44:35 +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
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
Hardeep Sidhu
41354a85d9
Fixed bug when inserting playlists where comment and empty lines were not being skipped.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4284 a1c6a512-1295-4272-9138-f99709370657
2004-01-29 05:37:54 +00:00
Hardeep Sidhu
107ebc5ba9
Modified playlist handling to allow for multiple playlists to be edited at the same time. Added support in playlist viewer for viewing/editing playlists on disk (accessed via ON+PLAY->Playlist->View on a playlist). Added menu in playlist viewer for changing a few settings and saving playlist. Added File Options menu in playlist viewer ON+PLAY menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4276 a1c6a512-1295-4272-9138-f99709370657
2004-01-26 17:05:21 +00:00
Björn Stenberg
a108ec2ebd
Added Benjamin Metzlers bookmarking feature (patch #669440 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4227 a1c6a512-1295-4272-9138-f99709370657
2004-01-14 00:13:04 +00:00
Daniel Stenberg
1afa395c2f
The splash() function's second argument (keymask) is now removed, as it
...
was not used by any code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 09:58:58 +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
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
Hardeep Sidhu
58bafee963
Don't write playlist shuffle settings immediately to disk. Instead, save them in global settings and only flush to disk when the playlist is modified \(e.g. insert,delete\). As part of the changes the resume index was changed from an int to a short to give an extra 2 bytes in RTC ram to be used for another playlist index.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4121 a1c6a512-1295-4272-9138-f99709370657
2003-12-09 08:18:03 +00:00
Jörg Hohensohn
8b813d0b99
table-driven internal handling of file types, so we can have many of them
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4115 a1c6a512-1295-4272-9138-f99709370657
2003-12-07 16:57:43 +00:00
Björn Stenberg
de5477cc00
Brian King's .rockbox browsing patch
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3964 a1c6a512-1295-4272-9138-f99709370657
2003-09-29 21:26:53 +00:00
Hardeep Sidhu
b3621b7e1c
Don't delete queued tracks in repeat one mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3929 a1c6a512-1295-4272-9138-f99709370657
2003-08-11 16:32:56 +00:00
Linus Nielsen Feltzing
f937912b5c
The creation of the playlist control file failed when control_fd == 0
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3814 a1c6a512-1295-4272-9138-f99709370657
2003-07-08 06:31:23 +00:00
Hardeep Sidhu
14078864a0
Allow playing even if we are unable to access the playlist control file (e.g. no .rockbox dir). However, dynamic playlists and resume will not work in this case. Also, there are no playlist options for m3u files when nothing is playing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3813 a1c6a512-1295-4272-9138-f99709370657
2003-07-06 16:05:44 +00:00
Hardeep Sidhu
a8950c3d3b
Dos-style pathnames were being copied incorrectly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3800 a1c6a512-1295-4272-9138-f99709370657
2003-07-02 16:14:49 +00:00
Hardeep Sidhu
11e7ad50a0
Added "Ask" option to recursive dir insert which, if enabled, will ask users whether they want to recursively insert selected dir. Also, renamed "Insert first" and "Queue first" to "Insert next" and "Queue next" respectively.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3799 a1c6a512-1295-4272-9138-f99709370657
2003-07-02 15:54:44 +00:00
Hardeep Sidhu
9e4262081b
Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or playlist from file browser to see available options.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
2003-07-01 21:05:43 +00:00
Linus Nielsen Feltzing
7f5ce80932
The playlist buffer was too small, causing all kinds of weird errors when playing large playlists
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3706 a1c6a512-1295-4272-9138-f99709370657
2003-05-29 22:42:57 +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
Björn Stenberg
7bb746b4fe
Changed to runtime playlist initialization
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3602 a1c6a512-1295-4272-9138-f99709370657
2003-04-24 17:31:36 +00:00
Daniel Stenberg
4793f3b6de
init the playlist struct so that fd is -1 at startup, which then no longer
...
makes us close fd zero at startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3595 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 21:07:30 +00:00
Daniel Stenberg
583821bc32
Keep the playlist open all the time, to reduce mid-song times caused by the
...
closure and reopening of the playlist.
Consider this slightly experimental. Can you detect a speed difference?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3592 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 18:45:51 +00:00
Linus Nielsen Feltzing
9d860e19d2
Better handling of next/prev
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3528 a1c6a512-1295-4272-9138-f99709370657
2003-04-11 00:29:15 +00:00
Linus Nielsen Feltzing
570f16fd6d
Improved responsiveness for dirplay, plus fixed a bug that could cause a file handle leak, and sometimes playlist loading problems
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3518 a1c6a512-1295-4272-9138-f99709370657
2003-04-08 02:05:14 +00:00
Robert Hak
f6ee2f645e
make use of the splash screen, kill displays we don't need anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3480 a1c6a512-1295-4272-9138-f99709370657
2003-03-18 23:11:12 +00:00
Björn Stenberg
6a2b9367dd
The simulators can't use the mp3 buffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3399 a1c6a512-1295-4272-9138-f99709370657
2003-03-07 15:09:23 +00:00