Commit graph

254 commits

Author SHA1 Message Date
Jens Arnold
99a0598c28 Major peakmeter rework: * Changed set/get functions for dbfs mode to bool type. * Removed performance setting, leaving (slightly adapted) high performance mode only. * Refresh rate is always 20 Hz now. * Readout doesn't do an extra (hidden) peek, should allow for slightly better clip detection. * Brought back high performance peakmeter for recording. Peakmeter stops hogging the CPU when the disk is spinning; this is enough to avoid the performance problem when saving data. * Optimisations, code cleanup and code policeing. * (iriver) Reduced CPU load of peakmeter by not calculating excessive overlaps. ** Bumped config block version, so save your settings before upgrading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7415 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 20:07:17 +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
Tomas Salfischberger
93fb4988d5 "Bugfix" by Langlois Florian (Chamois on IRC), we forgot to change this one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7055 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 16:11:40 +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
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
Jens Arnold
f0622c930a Don't spinup the disk on pause if at least one method ensures the resume position to be saved, RTC or software poweroff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6924 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 17:24:32 +00:00
Hardeep Sidhu
db7209616b Always update resume info on track change. Fixes resume for codecs that don't update offset (eg. ogg).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6923 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 17:10:00 +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
9e376a557d Iriver: remote FFWD/REW support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6883 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 21:13:14 +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
Jens Arnold
1a3a78863b Fixed up WPS_*_PRE / WPS_RC_*_PRE handling. (Gimme back my RC_PAUSE on archos.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6868 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 07:58:01 +00:00
Jens Arnold
da2b45f2e5 When exiting the context menu with the menu button, call the main menu. Mainly useful on Ondio which can't have both main menu and context menu bound in wps. Holding MODE on Ondio will now bring up the wps context menu instead of the main menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6840 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 10:11:10 +00:00
Jens Arnold
3263620c5c Fixe red player build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6839 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 06:57:06 +00:00
Linus Nielsen Feltzing
6e0436f65c Henrik Backes patch for WPS and tag database context menus. Tag database context menus still don't work as expected. Hold Play/Select to pop up the menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6835 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 01:31:26 +00:00
Jens Arnold
9ed26cb16d Button adjustments for H1x0: added mode button for leaving menus and cancelling settings, removed unnecessary soft keylock from wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6743 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 08:41:16 +00:00
Marcoen Hirschberg
fb369b063b Make remote-control code more complete
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6696 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 20:18:37 +00:00
Tomas Salfischberger
b56f42494b Added menu button for remote (because the menu now supports the remote too).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6693 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 17:56:07 +00:00
Marcoen Hirschberg
c19e0f0d02 Add remote control support to tree and menu. Move defines from wps.c to wps.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6692 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 16:10:17 +00:00
Tomas Salfischberger
9361a99cc0 Bugfix: Holding the remote volume button wasn't working. Someone forgot to add BUTTON_REPEAT for the remote.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6618 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 17:09:34 +00:00
Tomas Salfischberger
97e5f7e733 Support for iRiver remote buttons in WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6617 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 16:16:11 +00:00
Linus Nielsen Feltzing
1c497e6045 First audio codec playback attempt by Miikka Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:05:10 +00:00
Jens Arnold
6b16d0e817 Fix simulator and iriver builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6464 a1c6a512-1295-4272-9138-f99709370657
2005-05-13 00:53:33 +00:00
Jens Arnold
03d08ecc25 (1) Wait for the MAS to run out of buffered data on fade out. Fixes bug #778930/#1189756. (2) Fade in/out from/to zero. (3) Always fade in 30 steps, independent of the global volume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6463 a1c6a512-1295-4272-9138-f99709370657
2005-05-13 00:16:14 +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
Jean-Philippe Bernardy
39eb8e134f long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5930 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 12:20:10 +00:00
Jens Arnold
259e354889 Added button definitions for gmini build. Prettified formatting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5638 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 01:01:14 +00:00
Linus Nielsen Feltzing
035fcdee74 Removed annoying debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5492 a1c6a512-1295-4272-9138-f99709370657
2004-12-19 19:15:49 +00:00
Linus Nielsen Feltzing
e68ccbd1d8 Added iRiver button codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5437 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 10:54:59 +00:00
Jens Arnold
ce82d8b8c8 Fix: Skipping to previous/next track via remote works again. WPS_RC_(PREV|NEXT) must not depend on WPS_(PREV|NEXT)_PRE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5336 a1c6a512-1295-4272-9138-f99709370657
2004-10-24 20:27:33 +00:00
Björn Stenberg
07206d67ef Added stop (off+repeat) to ondio wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5169 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 07:14:47 +00:00
Björn Stenberg
ff4b21d795 Moved most actions off of button release events.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5164 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 23:08:41 +00:00
Björn Stenberg
305aaf29f3 Player volume buttons now work again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5163 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 22:35:12 +00:00
Björn Stenberg
b25eb29100 Player next/prev is on release, not press. (Bug #1039326)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5156 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 11:45:51 +00:00
Linus Nielsen Feltzing
47ba627f61 Patch #1038325 by Markus Braun, prevents WPS from setting the volume higher than 100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5140 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 07:39:34 +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
Henrik Backe
ceceba6d3b Fixed broken rewind in wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5102 a1c6a512-1295-4272-9138-f99709370657
2004-09-21 20:11:32 +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
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
b9062aef7c The mute status display function now uses splash() too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5024 a1c6a512-1295-4272-9138-f99709370657
2004-08-29 21:58:07 +00:00
Jens Arnold
839067b7b3 More const policeing step 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4980 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 23:34:44 +00:00
Linus Nielsen Feltzing
ade5d7b848 First step in revamping the USB event handling, paving the way for the upcoming SYS_POWER_OFF event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-26 16:06:59 +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
01db3ba568 Keylock now locks combo keys too (mute, id3 viewer etc)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4732 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 21:47:43 +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
Björn Stenberg
1c6ba0adac Improved ff/rw max step calculation (patch #882931 by Craigh Sather)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4691 a1c6a512-1295-4272-9138-f99709370657
2004-05-22 01:09:47 +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
b9c02e6851 fix the next-song stuff for the player arch as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4644 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 09:13:13 +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
Linus Nielsen Feltzing
5483fd0a95 The ID3 browser now shows the correct genre information
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4442 a1c6a512-1295-4272-9138-f99709370657
2004-03-28 07:33:46 +00:00