Commit graph

6820 commits

Author SHA1 Message Date
Hardeep Sidhu
0574151ee0 Don't need to stop audio before changing tracks. Fixes problem when selecting a new track in playlist viewer on iriver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6846 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 17:31:44 +00:00
Jens Arnold
9cedf39430 Fix red builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6845 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 17:13:05 +00:00
Jens Arnold
6a556c1740 Preparations for implementing the new graphics api: Ordered lcd bitmap driver defines, variables and functions by function groups. Centralised some definitions, code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6844 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 16:53:54 +00:00
Tomas Salfischberger
bec1afada5 Make resume work with manually shuffled playlists (idea by hardeep on IRC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6843 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 16:27:15 +00:00
Tomas Salfischberger
8fd0378c6f Added a "Shuffle playlist" option to the context menu. Someone on the forum came up with it, and I liked the idea :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6842 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 15:49:36 +00:00
Jens Arnold
3e2b6ede5d Don't clear the button queue.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6841 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 10:40:34 +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
Jens Arnold
74d1f72f5d Change current estimation for USB powered mode only if CURRENT_USB is less than CURRENT_NORMAL (Ondio).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6838 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:42:28 +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
Jens Arnold
97a8049389 New feature for units that can be powered or charged from USB (Recorder fm/v2, Ondios): USB power mode, based on patch #1110332 by Pieter Bos. This way you can save battery power or even charge the battery (fm/v2) while using your unit near a PC. Hold MODE (Ondio) or F1 (fm/v2) while plugging USB to enter that mode. A tiny USB plug icon will be displayed is the status bar (overridden by the regular power plug icon in case of fm/v2 when the charger is connected).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6836 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:18:29 +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
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
337f3a1b99 Make the simulator builds know about software poweroff, for more consistent behaviour to the targets. Changed some #if conditions to better reflect the hardware. Fixes iriver sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6833 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 23:24:45 +00:00
Jens Arnold
7ec8aa2a2c Undid the variable font size handling in audio_debug since it now uses the system default font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6832 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 22:38:52 +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
Linus Nielsen Feltzing
df5170830c Fixed CODEC_BUFFER_SIZE mismatch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6830 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 22:03:13 +00:00
Thom Johansen
8b2531be27 Nicer code, removed rb references.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6829 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 22:02:11 +00:00
Linus Nielsen Feltzing
44bba0f2c0 Use system font for the audio thread debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6828 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:37:00 +00:00
Daniel Stenberg
d6cf3a0305 increase codec buffer size to fit the mpc codec properly (NOTE: the codec
loader does not detect when the full codec doesn't fit)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6827 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:34:11 +00:00
Jonas Häggqvist
97a1cf80f7 Mind the line-height
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6826 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:30:34 +00:00
Thom Johansen
10426dbe22 Cleaned up code a bit, removed all rb references.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6825 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:18:05 +00:00
Daniel Stenberg
54c1c667de this is not const
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6824 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:16:28 +00:00
Daniel Stenberg
091001179a fix sim builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6823 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:13:10 +00:00
Jens Arnold
06109b0202 Fixed formatting (uniform indentation of 4 spaces, removed tab chars). Some slight optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6822 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:43:39 +00:00
Daniel Stenberg
055303ad7d rip out all the LCD junk from the codec API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6821 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:40:35 +00:00
Linus Nielsen Feltzing
17098e1c08 More audio thread debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6820 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:37:31 +00:00
Daniel Stenberg
3739d3aa34 codec lib sources
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6819 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:13:46 +00:00
Daniel Stenberg
b685ebd4f6 build codecs too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6818 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:13:18 +00:00
Daniel Stenberg
2811854077 bootbox is not a module
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6817 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:07:45 +00:00
Daniel Stenberg
101872f570 no more codecbuf in here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6816 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:05:59 +00:00
Daniel Stenberg
8c4bc22488 this code is for uda1380 only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6815 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:03:33 +00:00
Daniel Stenberg
31efab4909 removed the use of the 2nd argument to codec_start() since no codec used
it anymore


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6814 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:55:09 +00:00
Daniel Stenberg
1f3d08d600 fixed make clean for the codec lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6813 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:54:43 +00:00
Daniel Stenberg
1dd672fe32 moved and renamed the codecs, gave the codecs a new extension (.codec),
unified to a single codec-only API, made a new codeclib, disabled the building
of the *2wav plugins


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6812 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:41:30 +00:00
Jens Arnold
b7aaa641b8 H1x0: rolo_restart() now uses the actual destination address to start the code. Some asm optimisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6811 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 16:53:12 +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
Thom Johansen
714358a42c Initial linear interpolating resampler. This resampler really needs to be ripped out of the codec, and put into the playback system. Optimising probably wouldn't hurt either, currently it slows down playback quite a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6809 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:52:02 +00:00
Tomas Salfischberger
1a558dae37 Moved to logf.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6808 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:48:39 +00:00
Tomas Salfischberger
2c7a1735c0 My gcc v3.3.5 choked on the bool type, solved with this include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6807 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:46:38 +00:00
Linus Nielsen Feltzing
fcc282c48a OOps, bad handling of tick_remove_task()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6806 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:09:07 +00:00
Linus Nielsen Feltzing
b5a0f70e5b New debug screen for sw codec audio thread
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6805 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:03:04 +00:00
Linus Nielsen Feltzing
8f2a3e91dc Increased max number of tick tasks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6804 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:00:17 +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
Marcoen Hirschberg
83b4a83b47 Better values for the iriver battery
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6802 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 11:51:41 +00:00
Jonas Häggqvist
03ba079672 Synced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6801 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 11:31:18 +00:00
Jonas Häggqvist
2de7bca13b Should work on Windows 95/98/ME as well now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6800 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 10:47:50 +00:00
Jens Arnold
292b77b097 Coldfire: slight memset() optimisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6799 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 07:44:21 +00:00
Jörg Hohensohn
6aa8525f24 fix for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6798 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 07:19:55 +00:00
Jörg Hohensohn
1b4e3091c8 no if(!usb_detect()) check around the autorock execution since we have early usb detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6797 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 06:11:51 +00:00