Commit graph

4984 commits

Author SHA1 Message Date
Stepan Moskovchenko
b9b2bcd9b9 Fixed freezing after loader error messages.
Added RMID (Windows MIDI) header support. Added .RMI extension to
viewers.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9888 a1c6a512-1295-4272-9138-f99709370657
2006-05-08 02:43:29 +00:00
Jens Arnold
1d08533377 Ipod: Move the HW revision to 'View HW info' where it belongs, and make both the HW revision and port debug work on mini (didn't fit the LCD).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9887 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 22:56:44 +00:00
Jens Arnold
106f7738a0 We don't need 2 different CRC functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9886 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 22:19:29 +00:00
Stepan Moskovchenko
595a204020 Whoops! Lousy button code...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9884 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 07:27:07 +00:00
Stepan Moskovchenko
68af7bae87 Added ability to adjust the volume during playback.
Gracefully fail if no soundset installed.
Yet more messing with the ramping code. I swear, that will be the end of
me.
Basic skipping support- skip foreward a bit if Right is pressed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9883 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 07:12:07 +00:00
Hardeep Sidhu
a95068cf39 Fixed voice prompts from id3 db
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9882 a1c6a512-1295-4272-9138-f99709370657
2006-05-07 06:16:17 +00:00
Jens Arnold
b4efbdcdbb Viewer: Don't say 'yes' to every option ;-) (Voice ID must be -1 for 'no clip').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9880 a1c6a512-1295-4272-9138-f99709370657
2006-05-05 17:49:27 +00:00
Hardeep Sidhu
ed41ba0ca7 Fixed bug with playlist_skip_entry when track to be skipped was less then current index
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9879 a1c6a512-1295-4272-9138-f99709370657
2006-05-05 08:32:07 +00:00
Hardeep Sidhu
000397dc69 Fix folder icons in tagcache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9878 a1c6a512-1295-4272-9138-f99709370657
2006-05-05 07:54:19 +00:00
Hardeep Sidhu
a85b23fa5b Enabled playlist functions on tracks in tagcache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9877 a1c6a512-1295-4272-9138-f99709370657
2006-05-05 07:01:43 +00:00
Brandon Low
b9615514bf Hopefully fix some old audio playing during manual track skip w/o crossfade. Worst case was 1/5 second of audio from pcmbuflen bytes later than the playign position of the old track would play.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9876 a1c6a512-1295-4272-9138-f99709370657
2006-05-05 03:13:06 +00:00
Jens Arnold
15a0a17174 Fix viewer crash due to uninitialsed usage of rb->
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9875 a1c6a512-1295-4272-9138-f99709370657
2006-05-04 19:53:26 +00:00
Jens Arnold
2343a1935d Text viewer: * Only show those options which really exist. * Basic button functions now available on all targets. * Implemented option setting in a more straightforward way (like the core options menus).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9874 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 23:16:53 +00:00
Jens Arnold
542d9b5942 Greyscale ipods: Fixed screendump for the (not-so-) new framebuffer format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9873 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 21:26:38 +00:00
Peter D'Hoye
85faccb797 Increase language buffer from 14000 to 16000 so that russian.lang fits again. Fix for bug 5286.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9872 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 20:52:43 +00:00
Stepan Moskovchenko
28b5afd05a Optimize synth code by pre-computing the volume scaling for each note.
Scaling is now calculated once per MIDI event at the most, instead of
once per sample. Increase voice ramping speed, increase number of
active voices a little.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9870 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 19:32:22 +00:00
Magnus Holmgren
7f1d214801 Correct a Coldfire asm constraint.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9869 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 17:45:09 +00:00
Hardeep Sidhu
6a267a8be7 Don't initiate track change if at end of playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9868 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 16:33:23 +00:00
Hardeep Sidhu
7033baea5e Only reset resume settings when we're really at the end of the playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9867 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 15:54:08 +00:00
Stepan Moskovchenko
f67a942c60 Remove some debug junk, start a new build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9866 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 06:12:24 +00:00
Stepan Moskovchenko
47efba8bbf Fix file descriptor leak that would cause a hard lockup every 7 files
played. A few other cosmetic changes. please, please no red build =)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9865 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 05:18:18 +00:00
Dave Chapman
a3be63d225 iPod: Bass/Treble settings need 5 bits, not 4 - fixes bug report #5276. This also increases the CONFIG_BLOCK_VERSION on all platforms - this will reset your settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9863 a1c6a512-1295-4272-9138-f99709370657
2006-05-02 21:47:22 +00:00
Jens Arnold
93ff94949c Player: Credits plugin correctly working with UTF-8. Patch by Marcoen Hirschberg.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9862 a1c6a512-1295-4272-9138-f99709370657
2006-05-02 21:44:04 +00:00
Hardeep Sidhu
982d995ae9 Stop playing current track before starting a new playlist with an offset (eg. bookmarks).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9861 a1c6a512-1295-4272-9138-f99709370657
2006-05-02 16:18:21 +00:00
Stepan Moskovchenko
b2f1b5dd18 ----------------------------------------------------------------------
Added Karl Kurbjun's sound output patch, cleaned up some output.
Main file is now midiplay.c, midi2wav is still in there for anyone who
wants it. Set sampling rate to 22k, and increased note decay time.
Reduced number of concurrent active voices and made new notes replace
used voices if none are available. This makes lag less apparent.
I really hope this wont go red. (turns around and runs)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9858 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 23:22:59 +00:00
Peter D'Hoye
23aa325d1d Caption-backlight: don't keep backlight on if paused as this keeps the backlight on forever. Fixes bug 5050.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9854 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 19:50:44 +00:00
Hardeep Sidhu
b8d1a55fbd Properly set audio_is_initialized flag for swcodec devices ad use it when initializing crossfade. This should fix the problems with resuming playback at startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9853 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 18:18:54 +00:00
Peter D'Hoye
9fe9a4f347 Also clear WPS backdrop when shutting down (same fix as in usb event handling). Fixes bug 5222
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9851 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 14:24:06 +00:00
Magnus Holmgren
e9cc570b83 Applied patch 2917: Fix retrieval of total sample count in get_vorbis_metadata.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9850 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 13:42:35 +00:00
Peter D'Hoye
6488177d05 Init voice before audio because audio needs to know the voice buffer size. Seems to fix the occasional freeze at startup (if voice is used), and also seems to fix voice eating itself after playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9849 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 12:54:21 +00:00
Magnus Holmgren
d5e1157cf7 Tweak MP3 seeking a little, and don't do gapless trim if a seek has been done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9848 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 11:54:04 +00:00
Dave Chapman
b4f0efc1dd Call rb->yield() during the random game generation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9847 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 08:23:53 +00:00
Jens Arnold
ac36f7101d Bump the api version when something is added to the api!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9846 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 07:21:02 +00:00
Zakk Roberts
a90f0929fb Oops, fix Ondio builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9845 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 06:01:17 +00:00
Zakk Roberts
07fcf77cb0 Patch #5056 by Jonathan Gordon, with rework and additions by me: Updated Viewer plugin. Replaces annoying mode-toggle key-combos with a settings menu, including a new 'Scroll by Line' option. I've also added a 'hands-free' auto-scroll feature and added lcd_setmargins to the plugin API, since we need it here.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9844 a1c6a512-1295-4272-9138-f99709370657
2006-05-01 05:45:18 +00:00
Peter D'Hoye
0d6b5557a1 Fix red builds?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9843 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 23:51:24 +00:00
Peter D'Hoye
67ff2624bf Recording buffer offset must be passed on to the firmware calls, not the other way around. Should fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9842 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 23:18:21 +00:00
Peter D'Hoye
8e71f90940 The recording buffer should not try to use the voice buffer, so map our buffer after it. On swcodec targets, recording always uses this buffer so always notify the others that we did. Fixes bug 4754.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9841 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 22:28:45 +00:00
Magnus Holmgren
65167c96d3 Synced, and some fixes/updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9840 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 14:27:18 +00:00
Jens Arnold
e5b132d29f Ondio, gmini, ipod: Don't trigger vkeyboard accept if the button is already pressed when entering it. Fixes inability to save a new game from sudoku on Ondio, and potential similar problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9839 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 13:10:06 +00:00
Jens Arnold
f376eb576d Silence 2 gcc4 warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9838 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 12:24:55 +00:00
Magnus Holmgren
e187e01e36 Fix one seeking bug: when seeking back to before a resume point, audio from another track could be played.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9837 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 08:39:24 +00:00
Magnus Holmgren
3bd4b0be39 Fix problem with loading bookmarks from the root folder (causing the simulator to crash).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9836 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 08:20:18 +00:00
Hardeep Sidhu
b236dc63ff Fixed problem with incorrect first index after resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9835 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 05:29:04 +00:00
Hardeep Sidhu
fede7ff6f2 Fixed playlist control corruption on dircache systems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9834 a1c6a512-1295-4272-9138-f99709370657
2006-04-30 04:40:56 +00:00
Peter D'Hoye
4bfdd1fca1 Clear wps backdrop on USB event when in wps. Fix for bug report 4752
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9831 a1c6a512-1295-4272-9138-f99709370657
2006-04-29 10:56:57 +00:00
Thom Johansen
ee720278ad Fix the first-frame memmove from pretending the data is interleaved, which it isn't anymore. This should fix all remaining gapless problems with Musepack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9827 a1c6a512-1295-4272-9138-f99709370657
2006-04-29 02:00:14 +00:00
Thom Johansen
43a105aae3 Make libmusepack output the last frame in two passes. Reclaim the IRAM taken in the last commit. Please let me know if you can hear any artifacts or get any broken files from this!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9825 a1c6a512-1295-4272-9138-f99709370657
2006-04-27 23:52:55 +00:00
Daniel Stenberg
07aaf52d47 empty strings should be provided as "" and not as plain blanks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9823 a1c6a512-1295-4272-9138-f99709370657
2006-04-27 22:48:15 +00:00
Thom Johansen
f004315105 Patch #5219 by Antonius Hellmann. Several optimisations to libmad. Both Coldfire and ARM targets should benefit much from this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9821 a1c6a512-1295-4272-9138-f99709370657
2006-04-27 19:52:09 +00:00
Brandon Low
4564f5c56a Don't magically skip tracks without user interraction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9813 a1c6a512-1295-4272-9138-f99709370657
2006-04-26 12:19:16 +00:00
Brandon Low
69cf4f57ac This seems to fix a few bugs in that
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9811 a1c6a512-1295-4272-9138-f99709370657
2006-04-26 04:31:06 +00:00
Brandon Low
da1cddfcbb This seems to make selecting a new track from the file browser work very close to right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9810 a1c6a512-1295-4272-9138-f99709370657
2006-04-26 04:01:35 +00:00
Thom Johansen
5398f720f0 The last frame of Musepack files can contain double the amount of samples as in ordinary frames, so let's double our buffer size to accomodate...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9808 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 20:39:31 +00:00
Brandon Low
75de60b9e8 Reduce instructions in debug audio thread loop slightly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9807 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 20:32:38 +00:00
Brandon Low
1191fa41fd Make playback not screw up if the user tries to seek on musepack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9806 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 20:05:01 +00:00
Thom Johansen
9df0ea8297 Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9805 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 20:00:53 +00:00
Thom Johansen
ef1a36c5a7 Use the Rockbox endian swap routine instead of the default one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9804 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 19:57:24 +00:00
Thom Johansen
8324725511 Correctly identify end of file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9803 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 19:52:08 +00:00
Brandon Low
522ec278ef Switch inserts back from do while to while loops, because mpc likes to insert zero byte chunks at the end of files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9802 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 18:21:05 +00:00
Brandon Low
2306433eb7 Make crossfade less twitchy more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9801 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 16:15:11 +00:00
Brandon Low
08cdc439ce GOTO POWER. Improve crossfade performance, and cleanliness, and termination conditions. Make consistent insert vs. request/complete types of buffering.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9800 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 16:12:43 +00:00
Brandon Low
1f4a63441a Make crossfade less twitchy about buffer level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9799 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 15:06:55 +00:00
Brandon Low
9602dd7e60 Fix asymetric crossfade cases that were broken, and also a not yet reported bug where a buffer underrun during crossfade would take a long time to resume playing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9798 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 12:34:28 +00:00
Brandon Low
1924769631 Fix crossfade. Again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9797 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 10:39:56 +00:00
Brandon Low
9aa49a4360 More crossfade work, should fix crossfade on coldfire, and possibly improve crossfade performance in some cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9796 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 02:28:21 +00:00
Peter D'Hoye
ab90b1d55e Added bad filename protection when user enters an fm radio preset filename. Fixes bugreport 5137.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9795 a1c6a512-1295-4272-9138-f99709370657
2006-04-25 00:14:21 +00:00
Frank Dischner
38ae72ac1e Fix color->grayscale bitmap loading on grayscale ipods and mono->grayscale on all grayscale targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9791 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 15:52:05 +00:00
Brandon Low
3ac7bd7204 Fix the most likely cause of ipod nano startup race, and also seems to fix crossfade buffer reinitialization during playback for me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9790 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 12:57:41 +00:00
Brandon Low
8ef18271dd Fix another possible glitch causer on crossfade
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9789 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 12:41:30 +00:00
Jens Arnold
5074ec0037 Clear all screens before the shutdown splash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9786 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 06:34:45 +00:00
Brandon Low
9ca16a66bf Fix crossfade locational setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9785 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 03:43:43 +00:00
Brandon Low
2da61ff3fb Remove accidentally commited commented code, no functional changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9784 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 01:32:28 +00:00
Brandon Low
e0f7ecbfd8 Make track info update in a smarter way
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9782 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 00:48:00 +00:00
Brandon Low
d461a3ef65 Fix some todos, and prevent the position from jumping around badly on seek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9781 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 23:27:11 +00:00
Brandon Low
6c0908b416 Rework crossfade to properly follow pcmbuf chunks instaed of blindly inserting into the ring buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9780 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 22:54:34 +00:00
Brandon Low
6a6c322a19 Improve stop behavior
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9779 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 22:54:01 +00:00
Brandon Low
5cdee94b40 Fix a warning, and prepare for handling end-of-track seeking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9778 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 22:30:52 +00:00
Brandon Low
2e8b933c0d Should fix some track ending early problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9777 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 22:21:12 +00:00
Brandon Low
8ecb8582a1 Make some adjustments to when the WPS will be updated, giving faster next track and cleaner track change updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9776 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 20:37:43 +00:00
Miika Pekkarinen
4142710a47 Much faster optimized version of tagcache commit. Added a few items to
the debug menu (still buggy) and fixed a problem with partial tagcache
updates.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9775 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 18:47:26 +00:00
Hardeep Sidhu
3f7292e13a Don't call playlist_start() when changing directories on swcodec devices. Fixes problem with previous dir not working.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9774 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 17:15:45 +00:00
Adam Boot
bc3f2466e6 Jewels: simplify and standardize plugin exit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9773 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 16:01:34 +00:00
Brandon Low
920516c3e9 Whoops, forgot to 'duck' the music below the voice when I redid the mix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9772 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 05:30:52 +00:00
Brandon Low
f932cf6f0d Korean language update from Jeong Taek In
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9771 a1c6a512-1295-4272-9138-f99709370657
2006-04-23 04:15:38 +00:00
Jens Arnold
a8e3313b0d Recording screen: Make the peakmeter single height again on archos, bringing back the sample frequency line. The recording screen still needs to be *properly* adapted to the multi-screen API, including the peakmeter.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9770 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 23:51:06 +00:00
Dave Bryant
b76bb60219 Update libwavpack to the latest stream specification, and cross fingers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9769 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 22:21:36 +00:00
Dave Bryant
736df4b43b Revert the previous commit because it seemed to break the 4G Gray Sim,
although I can't figure out why or how, and I can't reproduce problem here...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9766 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 21:32:16 +00:00
Brandon Low
83ce56846a Remove an unneeded define, add a todo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9765 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 21:31:07 +00:00
Dave Bryant
dc232f56b8 Update libwavpack to the latest stream specification
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9763 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 20:30:01 +00:00
Brandon Low
f42459ff3b Comment and make pretty the hack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9761 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 15:13:53 +00:00
Brandon Low
c71ad7ea7f Fix warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9760 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 14:53:00 +00:00
Brandon Low
4194990d73 Replace one hack with a better hack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9759 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 14:48:05 +00:00
Brandon Low
f3bc1efc49 First commit of reworking voice to be mroe stable on swcodec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9758 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 14:40:13 +00:00
Jens Arnold
b5991b27ca Fixed busy loop, and implemented a simpler kind of cursor blinking that also ensures blinking always starts with 'cursor visible' after button actions. Removed redraw variable, since we now always redraw.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9757 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 13:06:57 +00:00
Zakk Roberts
a1db431d50 Updated vkeyboard. For players that require the user to scroll the cursor off the keyboard in order to edit the line itself (iPods, iAudio..), the line is now inverted when in line-edit mode. For all models: blinking line cursor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9756 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 09:43:43 +00:00
Dave Chapman
9f34872df0 Make the get_image_id() function more robust, and catch a parsing error when parsing the %x tags. This prevents Rockbox crashing when presented with an incorrect %x|filename.bmp| WPS line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9755 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 09:02:59 +00:00
Karl Kurbjun
65c15eb50b Better video update, add options to startup menu, change default screensize
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9754 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 03:48:15 +00:00
Zakk Roberts
35d36585c8 Fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9752 a1c6a512-1295-4272-9138-f99709370657
2006-04-21 06:20:02 +00:00
Zakk Roberts
8a0ea50ee2 Updated pitch screen again. *Back to old behavior of only coming up on ON+UP/DOWN (Archos) or PLAY+UP/DOWN (iriver) - fixes FS#4928. *Button mappings changed: Up/Down = +/- 0.1%; holding Up/Down = +/- 2%; Left/Right = 'temporary' +/- 2% (old behavior). *SWCODEC: pcmbuf_set_low_latency, now you can hear pitch adjustments quicker. *Broke pitchscreen code into two parts; one to draw and one to deal with buttons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9751 a1c6a512-1295-4272-9138-f99709370657
2006-04-21 06:11:24 +00:00
Jens Arnold
375b225fac Ipod mini: Correct placement of odd bubble rows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9750 a1c6a512-1295-4272-9138-f99709370657
2006-04-21 05:58:38 +00:00
Jens Arnold
62aaf1d734 Use correct macros to check for iriver architecture.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9749 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 21:05:04 +00:00
Jens Arnold
d43e719d59 SH1: Better placement of the C library routine references (gcc 3.4.x -Os and -O2 proof).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9748 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 19:48:02 +00:00
Karl Kurbjun
29ab31e8f1 Optimizations for doom: coldfire asm drawspan routine = not much, fixed point multiply changes = not much, H300 asm lcd update = some, IRAM sound updates and simplifications = more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9747 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 19:39:56 +00:00
Hardeep Sidhu
d9f11ac41d Repeat mode should be an integer, not a boolean. Fixes bug #2955.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9743 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 15:41:24 +00:00
Hardeep Sidhu
c7f304e1b9 Stop playback and exit viewer if last track in current playlist is removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9739 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 07:30:28 +00:00
Hardeep Sidhu
24f0a374c6 Fixed problem with forced reload of dircached filenames when playlist is sorted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9738 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 05:56:34 +00:00
Hardeep Sidhu
f635f4a824 Set playing to true immediately when audio_play() is called. Fixes a bug when selecting tracks from playlist viewer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9737 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 05:33:53 +00:00
Brandon Low
37faaab0ee Fix a crossfade problem (not initializing quite right), and a end of track problem (should solve some problemwith last bits of audio not playing).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9736 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 02:30:59 +00:00
Hardeep Sidhu
195a9f2766 No need to force a sync of control file until playlist has started. This should improve tagcache playlist creation performance on Archos devices (esp. Ondio). Also fixed a small bug in playlist_set_current.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9735 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 01:43:16 +00:00
Miika Pekkarinen
f9bfd73a24 Fixed: Generate chunked playlist correctly, don't sort <All tracks>
entry and don't return a NULL file pointer and crash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9733 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 18:56:59 +00:00
Miika Pekkarinen
0471249d8f Oops, forgot to commit this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9730 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 11:20:51 +00:00
Miika Pekkarinen
991665bcdf More usable playlist generation, added "<All tracks>" entry to tag
browser.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9729 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 11:03:37 +00:00
Hardeep Sidhu
b79c9a6145 Allow insert shuffled option for directories when playlist is empty. Based on patch #3011 by Jonathan Gordon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9728 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 02:22:23 +00:00
Brandon Low
4b36096b93 Have the codec thread stop the pcm if we need to spin up the disk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9727 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 00:23:08 +00:00
Brandon Low
56d6f3ecfc Fix playback if the user does a very fast seek->skip press
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9726 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 23:43:54 +00:00
Brandon Low
2c9b1717e6 Fix end of playlist handling. I think.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9725 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 19:52:10 +00:00
Brandon Low
1344ccd3c1 Revert previous, it is broken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9724 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 19:51:37 +00:00
Brandon Low
426dc212c6 Make seeking synchronous. It's better this way
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9722 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 19:08:15 +00:00
Miika Pekkarinen
fa893c6b88 Performance optimizations for tagcache commit. Still more left to be done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9721 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 18:56:56 +00:00
Brandon Low
2b18727a8a Fix dir skipping with new playback arch. Enable dir skipping on ipod with a couple of difficult combos (select|right/left) or short-long left / short-long right. The latter causes stuck in pause sometimes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9720 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 18:33:09 +00:00
Brandon Low
ed44e19c3f Should fix a bug with track skipping backwards following track skip forward, play, seek backward
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9718 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 16:53:24 +00:00
Brandon Low
7df187f20e Save empty resume information if the playlist has ended
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9717 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 16:45:44 +00:00
Hardeep Sidhu
095ad1a39c Minor fix for insert_shuffle when playlist is empty
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9716 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 16:44:51 +00:00
Hardeep Sidhu
d0de1aafac Fixed problem with auto change directory not working when browsing plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9715 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 16:24:12 +00:00
Zakk Roberts
cf6ad10b9f Jewels: switch back to Sysfixed font after exiting the Playback menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9714 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 03:17:16 +00:00
Magnus Holmgren
4b3a00703d Fix the use of equalizer pre-cut in combination with replaygain.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9711 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 21:04:57 +00:00
Brandon Low
095ae809eb Reduce code size when logf is off. Add a todo. Undo a previous fix that broke crossfade on manual track changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9708 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 19:59:16 +00:00
Karl Kurbjun
6b90467f69 Add better error message for messed up graphics.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9707 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 19:54:18 +00:00
Karl Kurbjun
08b417f149 Properly cache animations at level start. Switches still need some caching code. Added a debug cache flag for use in the sim to w_wad.c. Should be taken out when switches are handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9706 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 19:42:08 +00:00
Thom Johansen
239564c80e Fix/add some comments and remove some old leftover crossfeed code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9705 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 17:24:02 +00:00
Brandon Low
98097d23ec Misc. minor fixes: Guarantee aligned buffer. Enable load-codec-from-disk if a new track requires a different codec than the playing track, but does not already have it on the buffer. Stop playback immediately on a manual track skip. Handle seeking a distance greater than the size of the audio buffer. Enforce the 'no malloc for voice codec'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9704 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 17:05:05 +00:00
Karl Kurbjun
9f2be9b17f Add in error return if appropriate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9702 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 05:01:33 +00:00
Karl Kurbjun
b0722d11c1 Changed the way the addons and demos menus are displayed and built. Should be a good setup for adding multiple wad files as addons. Need to add some status feedback to let the user know what has been selected previously.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9701 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 04:38:26 +00:00
Karl Kurbjun
c87f98ce7f Finally add support for unlimited number of addons and demos. Also cleaned up the code and made a general function to handle the addons and demos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9700 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 03:09:29 +00:00
Jens Arnold
a5af06b580 Bubbles adapted to archos recorder & Ondio. Gfx work by Marianne Arnold.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9699 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 02:21:08 +00:00
Zakk Roberts
cc8f80ad9b Temporary fix for the high-pitched sounds on iPod: they should sound correct now, but the real problem (frequency adjustment) still needs fixing; this is merely a workaround.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9698 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 01:35:09 +00:00
Karl Kurbjun
6f8af215b9 Some code cleanup. Adds Always run to configuration options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9697 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 00:37:51 +00:00
Jens Arnold
74a397738e New harddisk icon for units (and remotes) without real harddisk LED.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9695 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 23:53:08 +00:00
Karl Kurbjun
295c226ed5 Fix run so that it stays enabled across level loads. Removed some unused code and added some back in for hopeful future use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9692 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 23:14:04 +00:00
Karl Kurbjun
f7872ac61b Decrease doom's code size and some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9690 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 21:16:09 +00:00
Dave Chapman
95325ff72a Build Sudoku for the iPod Nano - just use the 160x128 bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9689 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 20:38:15 +00:00
Miika Pekkarinen
3b31346103 Commit tagcache in background when possible (at least dircache enabled).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9686 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 17:32:54 +00:00
Dave Chapman
75a1426004 Disable some unused code (code used in network play) to bring the plugin size back down to under 512KB on the ipod video - more work needs to be done to further decrease the plugin size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9683 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 00:59:41 +00:00
Karl Kurbjun
4e2a74c2b4 Slight code cleanups, fixed sound parameter - now it saves. Old configurations will be reset.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9682 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 22:08:36 +00:00
Miika Pekkarinen
75b6abb114 Proper chunked browsing support when dirbuffer limit is reached.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9681 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 13:57:15 +00:00
Zakk Roberts
16a57e2e4f Also add a config-specific 'Default' value, this should fix the sim builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9680 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 13:07:21 +00:00
Zakk Roberts
97c3a6f10a Removed an extra newline.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9679 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 12:36:13 +00:00
Zakk Roberts
b61e263219 Move the battery min/max capacity to player config files and add an increment setting (amount of mAh to increase/decrease by in the settings menu) for more precise battery value tweaking/limiting per-model. This allows the proper range for iAudio X5 - 950mAh, or 2250mAh for the X5L.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9678 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 12:31:33 +00:00
Jens Arnold
13ade06d4a Patch #5102 by Anton Romanov: Bubbles for ipod mini.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9677 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 12:30:37 +00:00
Jens Arnold
7b22e99bd8 Chessbox: Patch #5052 by Miguel A. Arevalo: opening book. * Simplified drawing of board borders, and fixed a graphical glitch only visible on targets where all 4 borders are visible (ipod mini).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9676 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 11:27:47 +00:00
Jens Arnold
7aac7520ac Chessbox: New pieces for ipod mini, and simplified, easier recognisable pieces for the tiny archos LCD, by Marianne Arnold. * Mapped restart button for Ondios & recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9675 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 10:38:36 +00:00
Brandon Low
bf397b5635 Remove an unneeded WPS update signal. Make the codec thread more polite about requesting buffering. Prevent more Codec failure pops when the codec was _asked_ to stop.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9674 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 09:19:49 +00:00
Zakk Roberts
521a359568 New Sudoku bitmaps for 220x176x16 and larger LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9673 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 09:06:34 +00:00
Zakk Roberts
ddb36b2e77 Only show the 'Loading...' splash if the file is actually loading (won't be displayed if the file isn't supported).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9672 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 06:23:34 +00:00
Brandon Low
5696c9202e Fix main_menu.c for long translated strings that also need scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9671 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 02:43:23 +00:00
Brandon Low
ebadcc633a Put new_track on the codec_api, and use it instead of the reload_codec variable in most places. Should help with problems people have had with GUI vs. playback sync.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9670 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 02:03:11 +00:00
Zakk Roberts
ae33f37678 Francais.lang update by Mustapha Senhaji: adapted for v2, reworked and synced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9669 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 00:34:55 +00:00
Brandon Low
363dbc4b58 This might fix the buffering problem. Didn't happen to me the way I usually reproduce it just now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9668 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 22:15:38 +00:00
Karl Kurbjun
993545b4fb Start of profiling support for doom.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9667 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 21:07:56 +00:00
Brandon Low
530cad32e8 Still not bright
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9666 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 17:48:01 +00:00
Brandon Low
de25006ad9 I am dumb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9665 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 17:39:18 +00:00
Brandon Low
7c986a91a6 Work around the bug with buffer wrapping. Serious performance penalty, and a lot of buffering is discarded to achieve this, but it doesn't crash while I find the real cause
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9664 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 17:31:19 +00:00
Brandon Low
348d9ece4b Fix some unlikely buffer problems. Doesn't fix any reported bugs, but fixes some possible ones.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9663 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 17:00:22 +00:00
Brandon Low
86c7e1a947 Fix some stop/pause/boost stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9662 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 16:42:14 +00:00
Brandon Low
fb966b3cf8 Fix a lack of return on error for check_new_track (rare condition)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9661 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 14:19:56 +00:00
Brandon Low
0291a6e200 Fix the queue implementation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9660 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 14:03:43 +00:00
Brandon Low
fd08424694 Change to using a queue to synchronize between threads instead of abusing a mutex
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9659 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 13:05:08 +00:00
Brandon Low
fbe74d1df6 Fix one cause of buffer-offness, but I'm pretty sure this is not the cause of problems that people are having as the debug code I put in detects and corrects it. Make taginfo instead of stupid filename appear on manual track skip, off buffer (stupid bug).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9658 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 12:53:29 +00:00
Brandon Low
bb2eecb496 comment a type change for audio debug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9654 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 04:46:05 +00:00
Brandon Low
2f4edabfce Tweak id3v1 tag stripping, better code, same functionality. Ensure correct buf_idx on track when rebuffer&seek.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9653 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 04:42:11 +00:00
Brandon Low
2f11d60dcd Change when the new_track variable is reset to fix the track display during skipping
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9652 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 03:47:32 +00:00
Brandon Low
1d41f77b37 Boost during the track transition, trust me, it makes sense. Better logging of buffer-not-synched issues. Revert a previous change to make a function take a parameter intead of using cur_ti. Add some todos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9651 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 21:47:00 +00:00
Miika Pekkarinen
e5356c5a36 Use sysfont for the "committing tagcache" message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9650 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 21:20:13 +00:00
Brandon Low
017914a087 Adjust filesize if id3v1 is stripped
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9648 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 20:42:11 +00:00
Karl Kurbjun
22a81d7c76 Prevent non-standard wads (most notably GP32 wads) that should not run from ever making it into game (avoid freezes, data aborts, memory corruption, etc..)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9647 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 18:36:11 +00:00
Brandon Low
0744e760cb Ensure that the buffer doesn't get out of sync on rebuffer track changes. Remove the concept of pcmuf_boost_mode as it doesn't seem necessary, and adds an unnecessary way for the CPU to stay boosted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9646 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 17:30:54 +00:00
Dave Chapman
0c915510c6 Correct a comment - no code changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9645 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 17:04:53 +00:00
Brandon Low
483c947c3d Add a logf, remove an unused parameter, and an unused member of the track_info struct, ensure that we unboos on stop even if buffering, make a function take a parameter instead of using a global
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9644 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 15:48:00 +00:00
Brandon Low
c95044a9c1 Track skipping rework more. This seems to handle rapid skipping very gracefully without compromising buffer safety. There may still be a potentially broken code path if the user does a very rapid skip, stop sequence, and I will be sure to investigate this. Due to Slasheri's concern, reimplement rapid GUI update for track skipping in a safe way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9643 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 14:17:12 +00:00
Dave Chapman
5cce8fb99f Explicitly set the foreground colour instead of using the user's default foreground colour. Fixes bug report #5117 (which was applicable to all Colour targets)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9642 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 14:03:59 +00:00
Miika Pekkarinen
24bf89259e Fixed a bug in retrieving track filename when tagcache is loaded in ram.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9641 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 07:15:30 +00:00
Brandon Low
b1fa534f14 Simplify audio startup, and remove some unnecessary code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9640 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 02:46:34 +00:00
Miika Pekkarinen
1b18dd0f17 Show progress while committing tagcache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9637 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 10:31:24 +00:00
Brandon Low
44d9576ff5 Track changes should zero the seek_time to prevent undesired seeking in the new track
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9636 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 03:25:54 +00:00
Brandon Low
54af304a5b use the cur_ti pointer, as it's always synched up with track_ridx any way
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9635 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 02:01:26 +00:00
Brandon Low
376950155c Get the GUI and audio in sync for track changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9634 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 01:45:53 +00:00
Brandon Low
10c3a34c85 Fix major rebuffer stupidity, remove a redundant call, and a wrong comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9633 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 00:21:29 +00:00
Thom Johansen
bd6b62bc84 OK, GCC obviously has a hard time with this. Let's just pretend GCC 4.1 doesn't exist for now and revert last change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9632 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 00:14:39 +00:00
Thom Johansen
e99dafa2ae Fix a couple of warnings for GCC 4.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9630 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 23:33:41 +00:00
Thom Johansen
81cb35d42d Various optimisations for libmad by
Antonius HellmanO5Cn. Details at
http://www.rockbox.org/tracker/task/5078


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9629 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 23:29:25 +00:00
Brandon Low
af09d22125 Add and improve logfing, fix a possible cause of problems due to abuse of read_next_metadata
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9628 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 23:08:21 +00:00
Brandon Low
d6b370be02 Fix logf build, fix double reporting buffer events.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9627 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 22:38:33 +00:00
Brandon Low
16ee4160d6 Make logf not be a dumb wrapper
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9626 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 22:19:47 +00:00
Adam Boot
c9ca7ef23d Jewels: fix a couple minor menu inconsistencies
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9623 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 21:46:51 +00:00
Brandon Low
87484fcbc7 Almost entirely formatting changes, but also add one logf, and fix one nearly impossible to hit (I doubt it's been hit in the history of rockbox) bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9621 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 20:41:04 +00:00
Ben Basha
390f167754 Brickmania and Tetrox for iPod mini by Anton Romanov (FS #5094 & #5067)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9618 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 20:16:05 +00:00
Jens Arnold
93c1626d67 FPS test: Made output better fit smaller screens. * Added remote LCD FPS measurement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9617 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 19:29:01 +00:00
Brandon Low
8529414c7f Clarify a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9616 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 17:20:55 +00:00
Brandon Low
8966c018fa Clear tracks in more appropriate ways/places
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9615 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 17:17:24 +00:00