Miika Pekkarinen
5e47daa944
Now track total playtime should be accessible as well by using Pm and Ps virtual tags.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13133 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 20:21:56 +00:00
Miika Pekkarinen
9d9937a0ad
Added virtual tags in database to break track length to minutes and seconds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13132 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 20:14:05 +00:00
Magnus Holmgren
ec88dffb6c
Make resuming a directory bookmark more robust (e.g., when the directory no longer exists).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13131 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 19:11:39 +00:00
Miika Pekkarinen
e6de6e5f8a
FS#7002 - Fix a bug in parser of tagnavi.config preventing to set first menu as the root menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13130 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 18:33:40 +00:00
Miika Pekkarinen
0569fae8ec
Fix metronome plugin crashing on SWCODEC targets and fixed a division by zero as well when tapping in the beat.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13129 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 17:58:42 +00:00
Nicolas Pennequin
27cbf6bcea
* Add the crossfade (%xf) WPS tag
...
* Avoid eating the whole line when unsuccessfully parsing a %x or %xl tag. This will prevent unknown tags starting with %x from making the line disappear.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13127 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 16:15:34 +00:00
Jonathan Gordon
f9fb49284e
Give most of the items in the main menu a context menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13126 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 15:28:51 +00:00
Marcoen Hirschberg
88c05bd3c1
fix typo in the last commit: lcd_setfont -> lcd_remote_setfont
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13125 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 13:36:49 +00:00
Jonathan Gordon
c939774269
If credits.rock isnt loadable manually show the logo and version.
...
Hopefully fixes FS#6799
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13124 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 12:14:54 +00:00
Michael Sevakis
8b9df97d96
mpegplayer: Recover from audio stream errors better. Correct some sizes. Add some needed extra guard buffer. Add in an important additional wrap check. Stream demuxer needs work on when it looks ahead in the stream and it should wrap though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13123 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 11:36:12 +00:00
Michael Sevakis
5f1abee2dc
mpegplayer: oops, added an IRAM init/buffer get order switch that should have been reversed before committing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13120 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 07:57:01 +00:00
Michael Sevakis
4bd827b242
mpegplayer: do some reordering, add some needed volatiles, make sure thread creation failure is handled correctly, make sure audio doesn't attempt to finish remaining data if it was asked to stop.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13118 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 06:02:47 +00:00
Michael Sevakis
9cd6394d8c
SWCODEC: Fix a race condition caused by yielding in pcm_mute that could have playback messing around with pcm after supposedly being fully stopped. The pcm buffer mutes consistently on some players (the PP ones) which made audio_stop return too soon. Won't matter if it yields or not now and this should take care of the mpegplayer 'next video' issue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13117 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 05:58:09 +00:00
Michael Sevakis
6c9a433ca1
Add a check to make sure initializing the BSS section doesn't pass a negative size to memset.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13116 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 05:18:53 +00:00
Jens Arnold
8636e6949e
Moved SH1 system code to target tree. * First shot at hwcompat cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 23:51:00 +00:00
Peter D'Hoye
b16137e10b
Make sure selected track of playlist viewer doesn't become bigger than number of tracks when deleting the last track. Fixes FS #6899
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13113 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 22:39:12 +00:00
Jens Arnold
d6e822cab9
Get rid of some old archos debug cruft (USB polarity, PR polarity and ATA address are all derived from the hw mask, and master/slave isn't displayed on other targets either). * Get rid of all the USB*STYLE macros (except USB_IPODSTYLE).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13112 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 21:26:58 +00:00
Peter D'Hoye
81cf65e496
Wavview plugin: minor speed increase
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13111 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 21:24:33 +00:00
Michael Sevakis
dfa9f44034
mpegplayer: Hopefully help some problems on dual core. Make USB mode exit correctly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13109 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 11:02:45 +00:00
Linus Nielsen Feltzing
7c4b786851
Some quick and dirty MIDI player optimizations, now it works on the X5 and M5 too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13108 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 10:48:50 +00:00
Jonathan Gordon
08e633c25c
Hide the list title if only one line would fit under it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13107 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 10:34:44 +00:00
Dan Everton
fc47f14242
Move iPod Video hardware equalizer init to audio_init() after the hardware is enabled. Should fix the issue where the hardware equalizer settings would not be reapplied after a restart.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13106 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 09:13:13 +00:00
Jonathan Gordon
b368f4158a
/me fail english? thats unpossible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13105 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 05:40:43 +00:00
Jonathan Gordon
42c46dad58
Fix the comment, read_bmp_file() returns >=0 for success, not 0
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13104 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 05:35:58 +00:00
Peter D'Hoye
f8f05860a2
wav viewer plugin changes: speedup file reading, allow abort while reading, better keyhandling, small helpscreen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13102 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 22:02:58 +00:00
Dominik Riebeling
a3f1e9f3cb
Oops. Shouldn't forget the default handler.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13101 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 21:40:44 +00:00
Dominik Riebeling
339d812062
make the runtime view nicer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13100 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 20:56:15 +00:00
Michael Sevakis
7d677d953f
Add .mpeg extension to viewers.cfg
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13097 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 16:08:38 +00:00
Nicolas Pennequin
5cac46164a
Use valid_time() instead of using individual checks which amount to the same thing, and add RTC tokens beginning and end values that are used to check if a token is an RTC one.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13096 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 15:27:52 +00:00
Michael Sevakis
69588c3934
mpegplayer: do a little post commit cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13095 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 15:22:17 +00:00
Michael Sevakis
6689cb0f9b
mpegplayer: Get A-V synchronized. Improve frame sync and dropping logic and take advantage of decoder's ability to assist. Straighten out some threading problems. Clean it up a bit. Added some plugin API functions and decided it was a good time to do a good sorting on them so your next update from this build should be a full replacement.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13094 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 14:18:30 +00:00
Nicolas Pennequin
536c5d9e74
RTC tags for the WPS: Accept FS#6998 and FS#7001 by Alexander Levin with changes by me. CUSTOM WPS FILES NEED TO BE UPDATED !
...
The RTC tags are now atomic, i.e. instead of using one tag with the format (e.g. %cd m yc), we use several separate tags, one for each value (e.g. %cd %cm %cy).
Also, %cP produces an uppercase AM/PM indicator and %cp a lowercase one, which is the opposite from what they did before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13093 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 13:37:08 +00:00
Nicolas Pennequin
ad07c23a83
Accept FS#7004 by Michal Jevjak: Fix new sublines not being displayed after scrolling lines. This bug was introduced in the previous WPS commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13090 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 01:14:04 +00:00
Peter D'Hoye
81e0c9ce80
Better endianness handling, removed some leftovers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13089 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 23:04:43 +00:00
Peter D'Hoye
3e6ec54716
Fix yellow from 64bit platform sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13088 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 22:41:01 +00:00
Peter D'Hoye
09877aa4a8
New plugin: wavview. Shows info about a wav file and allows you to look at the complete waveform, zoom and pan. Only tested in sims and on h3x0. First version so has room for improvements.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13087 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 22:23:25 +00:00
Jens Arnold
d2a23eee50
Player: Fix screen update in Rockbox Info and Runtime display,
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13086 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 22:08:28 +00:00
Jens Arnold
87ac614ccd
Enable rockboy for M5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13084 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 17:47:32 +00:00
Jens Arnold
61e798ff27
Oscilloscope: Make orientation switching usable on X5, M5 and H10.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13083 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 17:03:48 +00:00
Magnus Holmgren
9a535274b8
Revert change 13001, since it causes the metadata to be re-read for partially buffered files. This breaks ID3V2 parsing, which expects the mp3entry struct to be zeroed. A better fix for the old tag data problem is needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13082 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 14:50:22 +00:00
Nicolas Pennequin
cda89411b0
Accept FS#7000 by Dave Hooper: Fix scrolling line behaviour for dynamic tags (e.g. when a line with info about the next track didn't scroll) and fix some incorrect refreshing flags.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13081 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 14:06:38 +00:00
Jens Arnold
5764ff571a
Fix yellow player build. Sims have no charging...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13080 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 13:54:38 +00:00
Jens Arnold
178c565beb
Stop/shutdown logic rework in browsers and menus. Recorder V1: Double-Off shutdown is now possible from menus and sub-browsers as well. Player, other targets which are always powered during charging: Attempted shutdown from menu with charger plugged now displays the charging splash.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13079 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 13:39:37 +00:00
Miika Pekkarinen
dcb4aa242b
FS#6997 DB/tree Cleanup - remove unused field "currextra2".
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13078 a1c6a512-1295-4272-9138-f99709370657
2007-04-09 10:30:11 +00:00
Robert Kukla
5b7d21f092
sims have no MAS, hence no mas_codec_readreg()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13076 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 16:19:28 +00:00
Robert Kukla
357a4182a7
FS#6604 - Starfield Pulses To Music
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13075 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 15:10:51 +00:00
Nicolas Pennequin
9ce77aa554
Skip leading UTF8 BOM if present. Fixes the first line of the WPS not being understood as a comment when it is one.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13074 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 15:02:26 +00:00
Nicolas Pennequin
fd19b8dba4
* Improve conditional evaluation to allow using enums with only two cases (problem reported by roolku). This happens to simplify the code.
...
* Rename get_tag() to get_token_value() and make it get a token pointer instead of the index of a token. This also simplifies the code a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13073 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 14:00:00 +00:00
Jens Arnold
349345db39
Enabled pacbox for M5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13071 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 13:34:48 +00:00
Dan Everton
1322ae02f9
FS #6759 : Support tan function in calculator plugin. Patch by Luke Blaney.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13070 a1c6a512-1295-4272-9138-f99709370657
2007-04-08 11:22:12 +00:00