Commit graph

139 commits

Author SHA1 Message Date
Daniel Stenberg
f981ea93fb kill gcc4 warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +00:00
Miika Pekkarinen
6a4bfb5dcf iRiver: Fixed several problems with playback on track skipping & loading:
* Correctly detecting codec type from metadata.
* Skipping incorrect tracks correctly if there are more than one unloadable track.
* Fixed internal ram skipping when codec switching is required.
* Fixed hang if no files in playlist is playable.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8116 a1c6a512-1295-4272-9138-f99709370657
2005-12-01 18:44:11 +00:00
Miika Pekkarinen
caee4b3e37 One more fix to revert a part of an incorrect change from the previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8023 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 13:23:06 +00:00
Miika Pekkarinen
4394cc787e The previous commit didn't fully fix the problem. Now it should have
been fixed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8022 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 11:31:15 +00:00
Miika Pekkarinen
d1704f6894 Fixed playlist skipping of incorrect files and playback engine not to
hang if codec loading fails. Also displaying a "Loading..." message on
resume and not calling queue_post too often.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8021 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 11:14:51 +00:00
Miika Pekkarinen
bae4fed19d Fix to the previous commit: Pointers were not always correctly erased.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7932 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 19:41:16 +00:00
Miika Pekkarinen
735f453730 Added dircache support to playlist. Now playlist filename pointers are
automatically accuired from dircache. WPS UI response with dircache
enabled should be instant.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7931 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 19:31:29 +00:00
Anton Oleynikov
ffc3963d57 fixed a bug in folder skipping preventing a feature to work in some cases
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7815 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 19:58:08 +00:00
Anton Oleynikov
00928af4dd iRiver: more robust folder skip routines + folder navigation on main unit via
either PLAY+LEFT/RIGHT or short then long LEFT/RIGHT


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7810 a1c6a512-1295-4272-9138-f99709370657
2005-11-10 22:31:47 +00:00
Kevin Ferrare
3aa842c9a3 some multi-screen work in playlist.c, properly formated splash.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7766 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 17:30:53 +00:00
Anton Oleynikov
d102e1f345 patch 1328447: folder skip routines in playlist API plus next/prev folder navigation for iRiver's remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7735 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 22:32:04 +00:00
Miika Pekkarinen
56bb45cfaf We reserved two bits instead of one bit for the new skipped attribute.
Fixed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7648 a1c6a512-1295-4272-9138-f99709370657
2005-10-21 07:25:19 +00:00
Miika Pekkarinen
c52f7f1b5e iRiver: Fixed broken items skipping on playlist: Now skipping and
marking them as bad instead of deleting the entries from playlist.
Faster buffered track skipping and preventing glitches from previous
tracks (still something might occur though, please report them).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7647 a1c6a512-1295-4272-9138-f99709370657
2005-10-21 06:40:45 +00:00
Jens Arnold
d6c054575b Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Linus Nielsen Feltzing
0ad617cbf0 Patch #1105616 by Ray Lambert - A-B Repeat for Archos studio/recorder, still not 100% complete, but I wanted to commit it before the 2.5 feature freeze
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7380 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 23:01:12 +00:00
Miika Pekkarinen
159c52dd36 Initial voice ui support for software codec platforms. Added also a
beep when changing tracks.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 11:13:19 +00:00
Ryan Jackson
1476fecf72 All repeat modes now work correctly if there is only one track in the playlist. Fixed a track-changing bug in 'Move to Next Folder' mode that could cause Rockbox to crash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7268 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 19:36:06 +00:00
Magnus Holmgren
97c6fd0892 'Move to Next Folder' didn't work if it involved going up to the root of the drive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7265 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 18:12:25 +00:00
Hardeep Sidhu
348d8f6bab A couple of bug fixes: 1. Take mutex before all playlist control file operations including fsync. 2. Don't flush and reload tracks if nothing is playing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7060 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 00:52:54 +00:00
Hardeep Sidhu
839dbcaed7 Moved resume info updating to the mpeg/playback threads so that it's saved even when not in the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7018 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:50:57 +00:00
Hardeep Sidhu
71d2281d8b Added new feature to move to next folder once the current one completes when playing directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6963 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 11:25:16 +00:00
Hardeep Sidhu
965c86a845 Forgot a const
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6862 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 06:28:55 +00:00
Hardeep Sidhu
74d082c038 Added new shuffle repeat mode that reshuffles playlist before repeating. Also added new shuffled insert mode that randomly inserts selected track(s) somewhere between current track and end of playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6861 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 04:46:25 +00:00
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