Magnus Holmgren
415f3bddf6
Oops, forgot to guard a couple of calls to dsp_set_replaygain...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7560 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 15:56:33 +00:00
Magnus Holmgren
4b711c2f72
Iriver: Added new ReplayGain type: track gain if shuffle mode is active, album gain otherwise. Properly apply ReplayGain settings on config file load. Bumped config version, so save your settings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7558 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 15:22:48 +00:00
Linus Nielsen Feltzing
91216a5edc
The power thread now monitors the shutdown process and forces a poweroff if it takes more than 8 seconds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:08:26 +00:00
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
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
d4496efee7
UTF-8 badness removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7382 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 23:38:51 +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
Magnus Holmgren
c0fc2054c2
Show VBR info in the ID3 info screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7314 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 08:13:32 +00:00
Magnus Holmgren
eab21c6cb5
Updated ID3 info screen for devices with a bitmapped screen: show a list of all items, rather than item one at a time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7302 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 18:21:14 +00:00
Magnus Holmgren
988ea2cffc
Added support for ID3V2 ReplayGain tags (as written by Foobar). Generalized the replaygain tag parsing a bit, to cut down the code size (APE tags should use this as well, but as it requires larger changes, it will have to wait for another commit). Also fixed a bug in the ID3V2 parser; ISO-8859-1 strings could confuse the main parsing loop (causing bufferpos to come out of sync).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7243 a1c6a512-1295-4272-9138-f99709370657
2005-07-27 11:54:33 +00:00
Magnus Holmgren
8189be1655
Calculate the with of the right string.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7235 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 16:03:44 +00:00
Magnus Holmgren
4a53787992
ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.
...
Note that there is a small delay from leaving a setting until the change
can be heard (due to audio data buffering).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:32:28 +00:00
Ryan Jackson
255e1cf79c
Changing repeat mode from quick screen now works correctly on iriver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7231 a1c6a512-1295-4272-9138-f99709370657
2005-07-23 19:00:22 +00:00
Jens Arnold
b0e056b5ae
More preparations and conversions for colour LCD support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7195 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 10:33:41 +00:00
Jens Arnold
82ea7c3bac
Renamed MAX_LEVEL to LCD_MAX_LEVEL to match the naming scheme. Preparations for colour LCD support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7194 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 09:24:29 +00:00
Magnus Holmgren
e69c2a9724
Bring back missing information (path, frequency) in the ID3 information screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7178 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 11:19:01 +00:00
Jens Arnold
367de4d064
Iriver: Disabled dead charging screen code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7106 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 19:29:54 +00:00
Jens Arnold
7c7dd43ccf
Fixed a long-standing bug in the charging screen. The charging screen froze when OFF was pressed. The intention was to powerdown, but this cannot work on archos, so the charging screen must not react on OFF. Made the charging screen react on the ON press instead of the release for better feedback. Bootbox uses SYS_POWEROFF for powering down.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7104 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 19:14:26 +00:00
Hardeep Sidhu
a6abe760a9
Only flush and reload when something is playing. Fixes hang on H1x0 when changing repeat mode before anything has played.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7059 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 23:50:16 +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
Michiel Van Der Kolk
1076eb1d27
Check for invalid song data.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7045 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:35:21 +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
Linus Nielsen Feltzing
6e80ac39a5
New poweroff handling, using the SYS_POWEROFF event, allowing plugins to save their settings before powering off.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7019 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 00:03:18 +00:00
Michiel Van Der Kolk
afe0941ae5
song rating support.. should probably be moved with browse id3 to a "song options" submenu in the wps context menu...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7013 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:01:31 +00:00
Daniel Stenberg
9a6a4e79a2
quick scren fixed for h300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6920 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:47:22 +00:00
Christi Scarborough
9e8918b086
Resume rework. With the new resume function, 'Ask' and 'Ask Once' are redundant options, since you can resume after any startup using the resume key. These have been stripped out, and the resume code has been streamlined. A small bug in button handler initialisation has been fixed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6911 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:23:09 +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
Christi Scarborough
37c3d8b610
Quick menu for iRiver: A long press on the PLAY key in the browser or the WPS will take you into the quick menu screen where certain common settings can be adjusted. Works just the same as F2 menu on Archos.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6880 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 20:16:26 +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
Jens Arnold
934941294b
Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
04daef17a1
First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Jens Arnold
422a141a6e
Fix some player build errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6837 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:20:40 +00:00
Linus Nielsen Feltzing
8b493fa6c4
Leave the ID3 viewer with LEFT as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6834 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 01:24:25 +00:00
Jens Arnold
e23348ac8b
Shutdown screen is for recorder v1 only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6831 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 22:22:23 +00:00
Andy
59b78940e8
Center USB logo on all models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6744 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 09:34:10 +00:00
Jens Arnold
748c751595
Fixed RED builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6536 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 05:57:19 +00:00
Christian Gmeiner
7477c09b42
Remote LCD: added own backlight timeout stuff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6533 a1c6a512-1295-4272-9138-f99709370657
2005-05-30 00:00:22 +00:00
Jens Arnold
b9ebe6af0a
Better pitch handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6503 a1c6a512-1295-4272-9138-f99709370657
2005-05-22 12:45:35 +00:00
Jens Arnold
27abc2a641
(1) Early USB detection on boot, before trying to mount the partitions. Cleaner & quicker; removes the need for the extra USB check at the top of ask_resume() which caused a deadlock in screenshot mode (see patch #1110332 ). On Ondio, this allows to leave an MMC in the slot when booting with USB connected for instant access. (2) Ondio: Track MMC status, only ask to remove the card if required. Probe MMC status if unknown.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6488 a1c6a512-1295-4272-9138-f99709370657
2005-05-17 22:10:51 +00:00
Jens Arnold
6e37dcf91b
Not-so-elegant fix for the simulator builds not defining HAVE_CHARGING.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6413 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:49:16 +00:00
Jens Arnold
cd0bb1cbec
Ondio: Disabled unused code for time setting and charging splash, saving almost 2 KB binary size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6412 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:30:16 +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
Linus Nielsen Feltzing
674eaca5ef
Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Jörg Hohensohn
ce51bc4b81
overlooked warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6021 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 16:23:30 +00:00
Jörg Hohensohn
7e1d36f35b
Ondio: disk activity indication in USB mode, too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6020 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 14:45:34 +00:00
Jean-Philippe Bernardy
06f1c0afc6
long policy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5933 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 12:51:06 +00:00
Jens Arnold
3c348df5ca
Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-26 22:48:25 +00:00
Björn Stenberg
fc53fd708f
Added ID3 database dirfilter
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5574 a1c6a512-1295-4272-9138-f99709370657
2005-01-17 11:37:36 +00:00
Linus Nielsen Feltzing
c8cf5e0e65
You can now leave the quick menus with OFF
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5489 a1c6a512-1295-4272-9138-f99709370657
2004-12-17 11:14:27 +00:00
Jens Arnold
61753a893e
Fixed a simulator warning, and disabled some unused code for targets without charging (Ondio)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5453 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 00:44:44 +00:00