Jens Arnold
ec9b202a92
Reworked handling of MPEG audio frame & file info: * Fixed frame size calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657
2005-09-10 12:28:16 +00:00
Linus Nielsen Feltzing
c2779e5ef3
Patch #1285659 by Stephan Wezel, adds the %bp tag to the WPS (external power adapter)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7501 a1c6a512-1295-4272-9138-f99709370657
2005-09-09 07:07:44 +00:00
Linus Nielsen Feltzing
04eedd0624
WPS: 1) Increased the WPS buffer size from 800 to 1600 bytes, 2) Increased the number of images from 26 to 52, using both a-z and A-Z as image ID 3) Fixed a bug that inserted empty lines if an image tag was wrong
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7498 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 13:54:58 +00:00
Linus Nielsen Feltzing
561aaa1219
WPS: 1) Bitmaps are drawn after formatting the entire WPS, 2) Most tags are now marked REFRESH_DYNAMIC, 3) Conditional bitmaps are now drawn with DRMODE_SOLID
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7497 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 12:32:59 +00:00
Linus Nielsen Feltzing
4e9969bcb9
Removed another warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7495 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 06:54:58 +00:00
Linus Nielsen Feltzing
1a812e3087
Removed a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7494 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 06:53:30 +00:00
Linus Nielsen Feltzing
640b7cbfc0
Use splash() when displaying the end-of-playlist message
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7493 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 06:51:52 +00:00
Linus Nielsen Feltzing
ff73f0dcbf
Changed WPS enum conditional functionality, displaying the last part in the list if the tag has no value. Also added enum support for battery (5 steps) and volume (10 steps).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7476 a1c6a512-1295-4272-9138-f99709370657
2005-09-06 13:43:26 +00:00
Linus Nielsen Feltzing
acf14e0569
The WPS didn't update the bitmaps when it was supposed to
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7455 a1c6a512-1295-4272-9138-f99709370657
2005-09-02 13:37:33 +00:00
Jens Arnold
4172a009f6
Fixed wps codec type conditional.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7444 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 17:35:22 +00:00
Linus Nielsen Feltzing
d67c267090
Fixed the WPS codec type conditional, and removed unsupported formats from the format enum
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7441 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 13:39:39 +00:00
Linus Nielsen Feltzing
ef197fbc99
Added possibility for conditionals for the song rating and codec type WPS tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7440 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 13:19:36 +00:00
Linus Nielsen Feltzing
d887c176c1
Changed WPS image tag format, allowing for conditional image display
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7439 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 08:14:09 +00:00
Linus Nielsen Feltzing
5efbdb76aa
Improved the WPS conditionals. The WPS can now have several alternatives for the tags that can have a range of values, like the repeat mode and play status.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7422 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 08:26:42 +00:00
Jens Arnold
193af59c81
UTF-8 badness removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7384 a1c6a512-1295-4272-9138-f99709370657
2005-08-22 00:16:40 +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
ef99e4e400
Archos players doesn't have a hold switch.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7372 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 19:39:05 +00:00
Miika Pekkarinen
d9874b266e
Committed the "[ 1247788 ] Adds wps tags for repeat modes" patch.
...
Please revert back should it cause problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7371 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 19:17:50 +00:00
Linus Nielsen Feltzing
46b3b86a50
Fixed the problem where a scrolling subline could keep scrolling with old information when displaying an alternate non-scrolling subline (say that quickly ten times)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7329 a1c6a512-1295-4272-9138-f99709370657
2005-08-15 06:35:29 +00:00
Jens Arnold
f894a4c269
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Tomas Salfischberger
d3424f0f51
Fixed the "overwriting bug" with aligned lines in the WPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7042 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 19:33:46 +00:00
Christi Scarborough
65a1b1a65b
Fix broken player build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7035 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 23:37:23 +00:00
Christi Scarborough
be7894509f
(1) Patch 1231281: Alignment tags for the WPS by Per Holmaeng. Use %al for left align, %ac for centre, %ar for right. It is currently not possible to use more than one %a? tag per WPS line. (2) Lots of tabs removed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7034 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 22:27:54 +00:00
Magnus Holmgren
1e5119b77b
Show the same information in the ID3 browser as in the WPS screen; use string version of tags if available, format time in the same way.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7029 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 19:33:33 +00:00
Michiel Van Der Kolk
3fd775b7d1
Playcount and rating support as a tag for the wps; %rp and %rr
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7017 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:46:39 +00:00
Jens Arnold
7e11acbce9
Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Tomas Salfischberger
9bfea3e746
Some changes to image code, thanks to Daniel.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6874 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 15:42:34 +00:00
Daniel Stenberg
20c19dde35
No need to keep code around that we _know_ will cause crashes... Bail out
...
nicer when certain syntax errors are used with the bitmap option.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6867 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 21:22:18 +00:00
Tomas Salfischberger
af50cae14d
Fixed bug: "Not clearing the buffer causes a problem when switching from one WPS to another if they don't use the same image set."
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6866 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 17:34:05 +00:00
Tomas Salfischberger
4fd457a2bf
New WPS image code, introducing a new format :)
...
%xn|filename|x|y| for example: %x0|test.bmp|10|23|
the example will load /.rockbox/test.bmp as image 0 on position 10,23
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6810 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 16:35:56 +00:00
Tomas Salfischberger
6d4b78b12c
Image support for the WPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6803 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 12:41:59 +00:00
Dave Chapman
961c9a3e41
Added %fc WPS tag to display codec type - moved codectype from track_info struct into mp3info struct, initialise it on MAS platforms, and add it to the WPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6748 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 16:24:27 +00:00
Linus Nielsen Feltzing
e83c6f3b24
Max WPS lines now dependent on LCD height
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6593 a1c6a512-1295-4272-9138-f99709370657
2005-06-07 13:46:48 +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
Jean-Philippe Bernardy
6e2a8a004d
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5932 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 12:40:35 +00:00
Jörg Hohensohn
fee8617479
multiple choice configuration CONFIG_BACKLIGHT instead of HAVE_BACKLIGHT, allows better control of how to do this per model
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5491 a1c6a512-1295-4272-9138-f99709370657
2004-12-18 10:29:47 +00:00
Jens Arnold
d4e53976d9
Renamed has_new_lcd() to is_new_player(), and got rid of the alias
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5459 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 21:20:54 +00:00
Linus Nielsen Feltzing
804c2005e1
WPS subline times >25.5s caused overflow, since time_mult[] was only 8 bits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5344 a1c6a512-1295-4272-9138-f99709370657
2004-10-25 13:14:26 +00:00
Jens Arnold
a1a08d0d5f
Removed backlight handling remains for platforms with no backlight (Ondio)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5236 a1c6a512-1295-4272-9138-f99709370657
2004-10-09 19:56:27 +00:00
Björn Stenberg
57945b125d
Removed the Neo code. Nobody is interested in it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 08:10:43 +00:00
Jens Arnold
033ba1669b
Made local constant arrays static, saving a few bytes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5014 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 20:30:22 +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
Linus Nielsen Feltzing
3a203ec68d
Patch #911298 by Steve Cundari, adds hour display to WPS and bookmarks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4878 a1c6a512-1295-4272-9138-f99709370657
2004-07-14 10:18:11 +00:00
Linus Nielsen Feltzing
209210e265
Slightly increased precision in the wps progress bar
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4858 a1c6a512-1295-4272-9138-f99709370657
2004-07-09 04:57:38 +00:00
Linus Nielsen Feltzing
5fd97fa2e9
Removed the option for the progress bar, making it permanently solid
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4852 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 11:10:19 +00:00
Linus Nielsen Feltzing
5f6047075f
Patch #985429 by Christi Scarborough, solid progress bar
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4851 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 10:52:09 +00:00
Linus Nielsen Feltzing
32e27d93e8
The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4805 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 01:05:40 +00:00
Björn Stenberg
bdaf5884ca
Moved genre list and access function to id3.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4692 a1c6a512-1295-4272-9138-f99709370657
2004-05-22 01:38:41 +00:00
Linus Nielsen Feltzing
4b3d553b3b
Now the next-song WPS feature works
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4686 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 22:17:23 +00:00
Daniel Stenberg
caec53c0d1
next-song support added to WPS, using new tags, and killed some trailing
...
whitespace
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4643 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:30:48 +00:00