Jens Arnold
b4861738c9
Bugfix: debug_fm_detection was defined twice. Removed it, since it only had a meaning for the Samsung tuner chip and is thus no longer needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6411 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 01:09:09 +00:00
Jens Arnold
c194fab162
FM preset menu: store current preset immediately after leaving.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6265 a1c6a512-1295-4272-9138-f99709370657
2005-04-10 20:26:19 +00:00
Jens Arnold
cef15c6efc
FM preset menu: Set cursor to the current preset on enter. Added a generic function to the menu system which allows for setting the position.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6264 a1c6a512-1295-4272-9138-f99709370657
2005-04-10 17:36:55 +00:00
Linus Nielsen Feltzing
e1f70587ce
More audio code restructuring, mostly renaming functions so far
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6247 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:36:06 +00:00
Linus Nielsen Feltzing
d2041832cd
Forgot to include sound.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6241 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 14:09:41 +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
Jens Arnold
59483d6768
Bugfix: Stop running recording when leaving the radio screen with the radio running (FM recorder: ON, Ondio: long OFF)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6156 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 18:03:01 +00:00
Daniel Stenberg
6610f8e9bb
fprintf() => fdprintf()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6032 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:48:36 +00:00
Jens Arnold
ae45d970d8
Radio screen: status bar wasn't updated when prerecording buffer was filled and no button pressed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5513 a1c6a512-1295-4272-9138-f99709370657
2004-12-26 18:36:48 +00:00
Linus Nielsen Feltzing
47e8773939
An attempt to set the radio in a more defined state at boot
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5457 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 06:34:14 +00:00
Jörg Hohensohn
c100a42ac0
Phew, all features available to Ondio, too. What an #ifdef monster. New feature: long select press on a preset opens a context menu to edit/delete. Since it's also useful to FMR, I made it available for that as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5313 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 22:50:34 +00:00
Jörg Hohensohn
8b1c8c6e81
Ondio: inaccessible button actions are now in the menu (presets+add), preset editing is still missing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5312 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 18:00:41 +00:00
Linus Nielsen Feltzing
4edbef5714
Fixed the FM preset menu button handling (again)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5308 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 09:09:27 +00:00
Jörg Hohensohn
ef8d508d5a
tuner cleanup + improvements:
...
- use sleep and powerdown for those who can
- philips station search works now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5306 a1c6a512-1295-4272-9138-f99709370657
2004-10-19 08:20:38 +00:00
Jörg Hohensohn
6694212a6f
minor touchup, to make the tuner interface independent from the IF
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5302 a1c6a512-1295-4272-9138-f99709370657
2004-10-18 07:58:59 +00:00
Jörg Hohensohn
ca45869a88
fix: the presence detection needs to power up the tuner first
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5299 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 17:49:30 +00:00
Jörg Hohensohn
91f9350cbd
moved and renamed fmradio_set/get_status to power.c, where it now additionally serves well for tuner power enable on OndioFM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5296 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 08:53:18 +00:00
Jörg Hohensohn
8f8fbac1fd
Philips tuner prepared, new middle layer to abstract which tuner is used
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5289 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 21:41:46 +00:00
Jörg Hohensohn
65dad074c7
fix for menu button quirk
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5266 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 07:37:28 +00:00
Jörg Hohensohn
120d863c68
limited FM screen for the Ondio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5246 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 17:12:43 +00:00
Linus Nielsen Feltzing
5a5f8e2804
The preset menus now ignore DOWN button events, fixes bug #1041944
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5197 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 05:49:19 +00:00
Linus Nielsen Feltzing
0b53443bad
Adapted the FM screen to the new button code, fixes bug #1039519
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5155 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 09:43:09 +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
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
d4e527b811
temporary hacks to make it compile with the Ondio (=Player) keypad. No influence for the other platforms.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5060 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 13:19:41 +00:00
Jens Arnold
0830339e2f
More const policeing step 5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4984 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 20:52:31 +00:00
Jens Arnold
9478cc6f8a
More const policeing step 4
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 19:22:56 +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
3d2c829c69
Fixes for the new virtual pointer concept
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4932 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:31:58 +00:00
Jörg Hohensohn
b1403ee024
New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 23:01:20 +00:00
Linus Nielsen Feltzing
3e92dbecc8
The FM radio screen now remembers the last used frequency
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4865 a1c6a512-1295-4272-9138-f99709370657
2004-07-12 13:28:44 +00:00
Linus Nielsen Feltzing
7bade1a24f
Bass boost removed in favour of some new sound settings: Super bass and five new MDB parameters: strength, harmonics, center, shape and enable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4839 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 12:17:14 +00:00
Linus Nielsen Feltzing
8448ba8fea
Revamped the FM preset handling, added a force mono option, and some internal changes, much inspired by patch #732369 by Alexandre Flament
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4828 a1c6a512-1295-4272-9138-f99709370657
2004-07-05 14:30:17 +00:00
Linus Nielsen Feltzing
afd7421a4c
Added FM radio simulation, with a good station at 99.4MHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4823 a1c6a512-1295-4272-9138-f99709370657
2004-07-02 07:43:49 +00:00
Linus Nielsen Feltzing
736a19266d
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@4806 a1c6a512-1295-4272-9138-f99709370657
2004-06-27 01:35:33 +00:00
Linus Nielsen Feltzing
3405d13020
The /recordings directory is now automatically created in the radio screen as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4721 a1c6a512-1295-4272-9138-f99709370657
2004-06-04 12:34:29 +00:00
Linus Nielsen Feltzing
4af9331ed2
The FM radio screen now uses the D/A peak meter.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4470 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 02:07:28 +00:00
Jörg Hohensohn
fa97f161ab
Third step of the voice-UI: numerical settings are spoken (composed at runtime), needs new voicefont at the new location ".rockbox/langs/english.voice"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4414 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:15:53 +00:00
Linus Nielsen Feltzing
bf2a02f9ba
Oooops! Forgot to update the radio code for the button bar changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4397 a1c6a512-1295-4272-9138-f99709370657
2004-03-17 11:53:53 +00:00
Jörg Hohensohn
4f36ea8fbf
First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-14 21:33:53 +00:00
Linus Nielsen Feltzing
10b92c44b3
First step towards context sensitive and configurable menus, by Brent Coutts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
2004-03-12 10:20:33 +00:00
Linus Nielsen Feltzing
cd55e03a30
radio_load_presets() no longer loads more than MAX_PRESETS from the presets file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4361 a1c6a512-1295-4272-9138-f99709370657
2004-03-11 11:00:38 +00:00
Linus Nielsen Feltzing
04f9cc7993
Added a debug option for the FM radio detection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4293 a1c6a512-1295-4272-9138-f99709370657
2004-02-04 09:53:22 +00:00
Linus Nielsen Feltzing
ef7293f0bc
New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory.
...
New feature: A "Create directory" menu option (untested in the simulator).
Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
2004-01-21 14:58:40 +00:00
Daniel Stenberg
0582b91872
use the new splash() api
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4203 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 12:00:04 +00:00
Jörg Hohensohn
881b53ff3f
fixes the red builds, I hope
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4193 a1c6a512-1295-4272-9138-f99709370657
2004-01-05 22:46:54 +00:00
Linus Nielsen Feltzing
74976c1484
New recording feature: Prerecord up to 30 seconds before you press the Play key. Especially useful for FM radio recording. Also fixed a bug which didn't apply the recording settings correctly in the Radio screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4183 a1c6a512-1295-4272-9138-f99709370657
2003-12-31 03:13:29 +00:00
Linus Nielsen Feltzing
ef8fd8e533
Automatic detection of FM radio hardware for V2 recorders
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4165 a1c6a512-1295-4272-9138-f99709370657
2003-12-19 01:24:02 +00:00
Linus Nielsen Feltzing
47f6cb30ee
Added sound controls to the FM radio menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4164 a1c6a512-1295-4272-9138-f99709370657
2003-12-19 00:38:47 +00:00
Linus Nielsen Feltzing
aaa99e70ba
Recording in FM screen, USB mode possible in FM and recording screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4046 a1c6a512-1295-4272-9138-f99709370657
2003-11-20 00:33:43 +00:00