Commit graph

85 commits

Author SHA1 Message Date
Barry Wardell
df0dc2262e FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod Color, iPod Nano).
* Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined.
* Fix bug in AIFF encoder header creation on little endian targets.
* Add recording screen keymaps for H10 and iPod.
* Move pcm_playback PP specific code to target tree.
* Add recording code to wmcodec drivers.
* Add pcm_record code.

Some problems still remain:
* Playback doesn't work after recording until Rockbox is restarted.
* Gain control not implemented.
* Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz.
* Line-in recording not tested on H10.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 01:52:21 +00:00
Jonathan Gordon
2616505364 change the a-b buttons in the wps to work even if play is help down for a while before pressing left/right
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11760 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 08:16:20 +00:00
Jens Arnold
a0f311355c Action code: Made all private functions & variables static. Better module separation, and it saves a bit of binary size. * Added a few missing 'const's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11730 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 07:55:17 +00:00
Jonathan Gordon
53a93bea5b Patch FS#6365 by Stephane Doyon, Fix x5 bookmark screen keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11647 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 01:22:13 +00:00
Barry Wardell
f214b91387 Improved Sansa keymap. Based on version provided by Pavel Gnelitsa.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11640 a1c6a512-1295-4272-9138-f99709370657
2006-12-01 19:28:39 +00:00
Peter D'Hoye
416acea2d8 More intuitive keymapping in pitch screen. Patch #6394 by Alexander Levin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11633 a1c6a512-1295-4272-9138-f99709370657
2006-11-30 23:18:56 +00:00
Jens Arnold
0e6dd7efcd Moved archos button reading to target tree. * Cleanup of button.[ch]. * Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11612 a1c6a512-1295-4272-9138-f99709370657
2006-11-27 02:16:32 +00:00
Martin Scarratt
f669797d07 Bookmark screen: fix buttons for both I-River remotes. fs#6251
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11501 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 16:46:33 +00:00
Dave Chapman
2f444aac29 Fix keymapping for pitchscreen on ipods - PLAY is now used to toggle between percentage and semitone modes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11444 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 09:43:40 +00:00
Linus Nielsen Feltzing
3b99840019 Patch #6145 by Alexander Levin - Pitch adjustment in semitone steps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11442 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 09:19:40 +00:00
Magnus Holmgren
397c39badc H1x0/H3x0: Re-enable the 'big value step' (on+left or on+right) in the graphic equalizer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11440 a1c6a512-1295-4272-9138-f99709370657
2006-11-05 19:37:43 +00:00
Barry Wardell
24f4a2a8cf Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
2006-10-26 13:38:09 +00:00
Dave Chapman
64baf57408 Handle repeating scroll events in the ipod virtual keyboard
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11327 a1c6a512-1295-4272-9138-f99709370657
2006-10-24 23:13:52 +00:00
Barry Wardell
44cbd337e9 Add keymap for A-B repeat on H10 and enable support for it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11238 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 18:11:56 +00:00
Michael Sevakis
55e899c402 $Id was not getting updated in keymap-x5.c (Was '$Id $')
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11204 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 18:13:23 +00:00
Michael Sevakis
6c9b1d46ee Made EQ and color chooser buttons work with remote. Fixed the date/time screen mappings on main unit (no date/time settings are possible from remote yet). Rearranged mappings and switch statements into alphabetical order for easier reference.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11203 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 17:49:46 +00:00
Jonathan Gordon
814683ebc3 -/+ keys were backwards in the settings lists (aparently)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11198 a1c6a512-1295-4272-9138-f99709370657
2006-10-12 07:25:35 +00:00
Michael Sevakis
504dae291c Restored context menu to x5 remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11192 a1c6a512-1295-4272-9138-f99709370657
2006-10-11 20:30:59 +00:00
Linus Nielsen Feltzing
56f50615c0 Add the bookmark context to the X5 keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11156 a1c6a512-1295-4272-9138-f99709370657
2006-10-09 07:52:27 +00:00
Jens Arnold
80876fdbb7 Player: repair pause vs. context menu behaviour in WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11152 a1c6a512-1295-4272-9138-f99709370657
2006-10-08 18:47:32 +00:00
Jonathan Gordon
1d69db7355 fix the wps context menu, and re-add page up/down in the tree for the recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11128 a1c6a512-1295-4272-9138-f99709370657
2006-10-05 10:34:40 +00:00
Barry Wardell
743ecaded8 Fix bug introduced when support for the H10 Remote was added where pushing Play on the actual H10 itself would not resume playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11098 a1c6a512-1295-4272-9138-f99709370657
2006-09-30 09:05:07 +00:00
Barry Wardell
b692fb11b3 Add support for H10 remote. Remote buttons have the same keymappings as their counterparts on the H10 itself, with vol-/vol+ being the same as scroll up/down.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11093 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 15:59:08 +00:00
Martin Scarratt
b2111b9a91 Fix X5 radio buttons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11054 a1c6a512-1295-4272-9138-f99709370657
2006-09-26 08:26:22 +00:00
Martin Scarratt
1ab1f02dfe fix the bug where when scrolling text left in the filebrowser you could suddenly find yourself in the root directory. A long press on the left scrolling button will still take you to the root quickly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11042 a1c6a512-1295-4272-9138-f99709370657
2006-09-25 10:56:38 +00:00
Martin Scarratt
5dc08bbfb2 Support for I-river remotes in the radio screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11033 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 12:22:01 +00:00
Martin Scarratt
a2ac8f42b1 Enable FM_MODE button and add new fm context types - now the radio should be fine!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11032 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 11:05:13 +00:00
Rani Hod
cbe4427a0a some fixes for X5 remote, still needs a major rework.
Now pitch screen and quick screen are usable (and exitable...) as well
as tree/menu navigation. The latter is not consistent yet, though.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11029 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 02:10:00 +00:00
Martin Scarratt
50185441db tsk...commas and semi colons!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11026 a1c6a512-1295-4272-9138-f99709370657
2006-09-22 13:09:28 +00:00
Martin Scarratt
4598feec49 Fix warnings...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11025 a1c6a512-1295-4272-9138-f99709370657
2006-09-22 13:08:17 +00:00
Martin Scarratt
a982365711 Button action code implemented in the radio screen. Should get rid of all thos wierd doublepress bugs and you can edit your presets again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11024 a1c6a512-1295-4272-9138-f99709370657
2006-09-22 12:18:58 +00:00
Jens Arnold
fa9dee01bc Reverted the recording timer commit, as it has at least 2 major problems. (1) It uses the user timer, which interferes e.g. with backlight fading on H1x0 (and potentially other targets). Using the user timer here is a waste, as the required timing lies in the range of seconds to days. A tick task would be sufficient. (2) It draws to the LCD from within an ISR. This must not be done unless there's a mechanism to ensure it doesn't interfere with the main thread's drawing, otherwise garbage might be displayed and LCD updates might stop working.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10991 a1c6a512-1295-4272-9138-f99709370657
2006-09-18 12:41:12 +00:00
Martin Scarratt
7ef47ed876 Recording countdown timer: set timer in recording settings screen (max 1 week countdown), start/pause timer in recording screen by pressing the pause button. If you have a separate record button then this will override the timer and start to record. Icon at bottom right of screen indicates timer is ticking. If you are in the recording screen when the countdown is over, recording will start automatically, if not then the icon will flash to indicate you should return to the recording screen to begin recording.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10990 a1c6a512-1295-4272-9138-f99709370657
2006-09-18 10:06:03 +00:00
Shachar Liberman
dd89514ef9 This should fix ondios to use MENU+LEFT/RIGHT combos for horizontal
scrolling lists.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10964 a1c6a512-1295-4272-9138-f99709370657
2006-09-16 21:05:02 +00:00
Shachar Liberman
a9688b1519 Here's the quickest fix ever: by a very quick look, it seems to me
that the horizontal scrolling key tables are mixed up all around the source.
so at least let's stop the ondio from using an already used key for now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10945 a1c6a512-1295-4272-9138-f99709370657
2006-09-14 21:07:24 +00:00
Jonathan Gordon
7343863a21 dont use power to go up a level in menus on x5 (blame jhMikeS) take 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10930 a1c6a512-1295-4272-9138-f99709370657
2006-09-11 12:53:46 +00:00
Jonathan Gordon
c4379c533c dont use power to go up a level in menus on x5 (blame jhMikeS)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10929 a1c6a512-1295-4272-9138-f99709370657
2006-09-11 12:28:58 +00:00
Barry Wardell
87b703df2b Fix keymap bug on H10 where powering off while in the WPS brings up the menu first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10923 a1c6a512-1295-4272-9138-f99709370657
2006-09-10 19:43:17 +00:00
Barry Wardell
2102dbf47e New keymaps for H10. Makes the buttons much more intuitive and consistent. FS5962, FS5945, FS5940
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10918 a1c6a512-1295-4272-9138-f99709370657
2006-09-10 12:06:54 +00:00
Jonathan Gordon
e69e9cd817 more fixes for the iriver remotes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10869 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 14:59:29 +00:00
Jonathan Gordon
85134105b9 make the pitch screen use the remote screen also, and fix non-lcd iriver remote for the screen (again)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10865 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 11:33:03 +00:00
Jonathan Gordon
bfe1cd17c6 fix pitch and quick screen keymaps for h100 lcd remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10864 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 10:20:22 +00:00
Jonathan Gordon
47df0f7c9a make the F1 key work a bit more reliably in the wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10863 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 06:29:10 +00:00
Martin Scarratt
6e4c6ae78a fix key mappings for H1xx remote in quickscreen Spotted by David Rothenberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10840 a1c6a512-1295-4272-9138-f99709370657
2006-09-01 08:35:27 +00:00
Martin Scarratt
62abb169a6 fix the other typo in the H1xx remote keymaps, Spotted by David Rothenberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10839 a1c6a512-1295-4272-9138-f99709370657
2006-09-01 08:05:35 +00:00
Martin Scarratt
01e4201e44 Typo for H3xx remote button config, spotted by David Rothenberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10832 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 20:25:57 +00:00
Jonathan Gordon
7d46b060b1 off to exit bookmark screen for recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10794 a1c6a512-1295-4272-9138-f99709370657
2006-08-29 13:19:43 +00:00
Jonathan Gordon
2e3cfafa0b fixed the bookmark screen keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10714 a1c6a512-1295-4272-9138-f99709370657
2006-08-23 08:53:38 +00:00
Jonathan Gordon
66c4bd6e63 Stop lists wrapping when using page up/down
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10712 a1c6a512-1295-4272-9138-f99709370657
2006-08-23 08:35:31 +00:00
Martin Scarratt
11af807ce6 H300 remote Keyboard: No point in having Combis with directions, they dont work and all combis with NAVI not ON key.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10696 a1c6a512-1295-4272-9138-f99709370657
2006-08-22 16:49:14 +00:00