Commit graph

6737 commits

Author SHA1 Message Date
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
Miika Pekkarinen
e941289c2f audio_is_initialized has to be set in playback.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6724 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 15:27:52 +00:00
Jonas Häggqvist
65e6a63026 The modifications are for all larger screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6723 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 13:56:54 +00:00
Miika Pekkarinen
92ea04a40a Added stubs for simulator to reduce some #ifdefs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6722 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 12:53:50 +00:00
Thom Johansen
08636e1e65 Added define for the UDA1380 codec chip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6721 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:53:20 +00:00
Daniel Stenberg
a7de2e28d3 use the 160 pixels wide logo for wider LCDs too (for now at least)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6720 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:48:50 +00:00
Daniel Stenberg
6b60f9ad53 LCD code depends on LCD model, not keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6719 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:42:53 +00:00
Daniel Stenberg
8576114c26 early and not yet working support for H300 builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6718 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:28:25 +00:00
Daniel Stenberg
0482ff5b9d options for the H300 series
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6717 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:27:37 +00:00
Linus Nielsen Feltzing
5058f7de05 ID3 parser bug fix by Ray Lambert
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6716 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 08:46:13 +00:00
Dave Chapman
5b9eb29d12 Add A52/AC3 metadata parsing (samplerate, bitrate, track length)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6715 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 23:12:34 +00:00
Dave Chapman
3ad485b15a Move metadata parsing code from playback.c into metadata.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6714 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 22:27:57 +00:00