Commit graph

6948 commits

Author SHA1 Message Date
Jens Arnold
6514435d3b Iriver: Properly apply sound settings on startup. Moved some inits to more appropriate places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6774 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 10:04:16 +00:00
Linus Nielsen Feltzing
ad839aec79 Added missing quote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6773 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 09:45:50 +00:00
Linus Nielsen Feltzing
9a899213fc Patch #1223219 by Dave Wiard - Add all supported audio files with Create Playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6772 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 09:00:53 +00:00
Miika Pekkarinen
cf18f96b99 Elapsed counter resets correctly when changing tracks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6771 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 06:49:21 +00:00
Jens Arnold
12a0e221de iriver: Prescale the digital volume when boosting treble/bass by decreasing the mixer volume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6770 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 23:33:23 +00:00
Dave Bryant
2c28390972 Added code to handle APEv2 tags for WavPack files, although this should be
applicable to Musepack files (and even MP3 files sometimes). Perhaps this
should be integrated with the ID3 tag stuff at some point?


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6769 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 20:27:46 +00:00
Miika Pekkarinen
fe8eb3b698 crossfade works much better but costs some cpu power if enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6768 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 20:20:16 +00:00
Linus Nielsen Feltzing
b08e2acf45 Fixed the dreaded iRiver simulator crash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6767 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 20:14:19 +00:00
Miika Pekkarinen
431e813532 Some re-desing to buffer filling and track loading code and a few bug
fixes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6766 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 18:41:53 +00:00
Miika Pekkarinen
6b3a14a7fd Only stop backlight pwm timer if display is fully dimmed either
on or off.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6765 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 10:12:11 +00:00
Miika Pekkarinen
0a81bb344e Don't initialize id3 structure with zeros on software codec platforms
(buffering system will do this).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6764 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 08:29:23 +00:00
Andy
e5d08722f8 Iriver: First attempt at recording. Use Info->Debug->PCM recording to test recording of wav-files. Seams to work fine except occasional 100 ms noise at pos 100 ms (not later) so initialization or synch problem..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6763 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 03:05:53 +00:00
Daniel Stenberg
2c0a58c238 prevent build failures for non-iriver targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6762 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 22:23:54 +00:00
Daniel Stenberg
f77547c147 make it build fine for H300 (keypads) as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6761 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 22:09:48 +00:00
Daniel Stenberg
3a79a70b78 pcm_playback.c is not for sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6760 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 22:06:38 +00:00
Daniel Stenberg
6067b6a802 make it not attempt to build the sh1 assembler when build for H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6759 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:54:38 +00:00
Daniel Stenberg
57e78a56c7 reverted the ifdef change, this code really IS H120/H140-specific and thus
this is one of the few places where the player model is checked for correctly


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6758 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:53:07 +00:00
Daniel Stenberg
6dd2729dd0 Set up things identical for all MCF5249 devices, until we find a reason not to
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6757 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:48:37 +00:00
Daniel Stenberg
2230791850 1) mpeg.c is only for MAS-devices
2) lcd-h100-remote should work fine for H300 as well since you can use the
   H100 remote fine on a h300 player
3) drivers/uda1380.c depends on HAVE_UDA1380
4) pcm_playback.c is for all sw-codec (non-MAS) devices


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6756 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:45:58 +00:00
Daniel Stenberg
1753e98a70 behave the same way with the h300 keypad as with the h100 (for now at least)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6755 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:38:05 +00:00
Daniel Stenberg
3dd7593ac5 Initial setup for the H300 keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6754 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:17:20 +00:00
Daniel Stenberg
33d4c33504 Made the (iriver) use of GPIO1 depend on the presense of a coldfire cpu instead
of comparing for exact player model. This assumption might not be correct, it
might been to check for some other hardware-specific feature.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6753 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:16:51 +00:00
Daniel Stenberg
f03bc298d6 depend on CPU, not player model
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6752 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:15:04 +00:00
Daniel Stenberg
5b6909b7c0 ifdef fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6751 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:14:47 +00:00
Dave Chapman
defdf4b65d First attempt at seeking in FLAC files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6750 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 20:57:01 +00:00
Dave Chapman
33001cb4f0 Add logf to the plugin interface (use the LOGF macro)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6749 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 19:19:12 +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
Miika Pekkarinen
2bfd2585a9 Initial support for iriver backlight dimming. Unfortunately dimming
remote control's EL-backlight is not possible.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6747 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 12:53:57 +00:00
Jens Arnold
b0287720b1 Fixed MPEG header validation for layer 1 on iriver, and simplified it for archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6746 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 11:26:14 +00:00
Jens Arnold
e2cd58145d Proper MPEG layer 1 support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6745 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 09:51:10 +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
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
Jens Arnold
9e86521357 Fix red gmini build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6742 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 01:43:16 +00:00
Jens Arnold
4c7da88618 Iriver UDA1380 volume and balance handling is now done in sound.c, similar to archos player; removed pcm_set_volume(). Implemented a dB-linear scale. Sorted & bumped plugin api. Removed audio test from the debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6741 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 01:25:47 +00:00
Jens Arnold
22c15b78c8 Simulator stub for remote lcd flip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6740 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 22:03:56 +00:00
Jens Arnold
bd1bb5f009 iriver: LCD flip for H1x0 remote, some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6739 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 21:43:00 +00:00
Jens Arnold
ba7dccf15a Fixed graphical glitch occuring in flipped lcd mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6738 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 20:02:05 +00:00
Linus Nielsen Feltzing
752c34c1a2 Proper handling of the UDA1380 RESET signal
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6737 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 12:00:37 +00:00
Dave Chapman
55afc7c2e8 Rename UI-v2.bmp to UI-recorderv2.bmp (Rec v2 win32 sim now builds)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6736 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 08:16:48 +00:00
Daniel Stenberg
ffa3222709 improved ifdef and wrapped long lines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6735 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 07:52:12 +00:00
Daniel Stenberg
9a7ebfda30 ifdef corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6734 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 07:43:46 +00:00
Jens Arnold
de1b915f79 Iriver: Sleep timer now powers off the box even when the charger is connected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6733 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 23:45:09 +00:00
Thom Johansen
a4a1a5523b Let's actually take volume into account this time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6732 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 21:42:37 +00:00
Jens Arnold
17f6d65da5 Adjusted settings bitfield to properly keep the bass setting on H1x0, and save some bits on treble. Bumped config block version, so save your settings to a file before upgrading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6731 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 21:20:00 +00:00
Thom Johansen
3828c7d982 Balance support for UDA1380 based players.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6730 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 20:16:58 +00:00
Andy
3de5e74aba uda1380: Added bass/treble and recording functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6729 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 00:04:47 +00:00
Thom Johansen
eadceed6f4 Broken code, too much crack for me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6728 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 20:09:09 +00:00
Thom Johansen
38c9d753db Proper UDA1380 bass and treble settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6727 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 19:56:44 +00:00
Miika Pekkarinen
53ce20a1ae Killed all simulator warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6726 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 19:38:13 +00:00
Miika Pekkarinen
c3fed62fc7 Fixed the "last song bug".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6725 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 18:59:04 +00:00