summaryrefslogtreecommitdiff
path: root/apps/recorder/radio.c
AgeCommit message (Collapse)Author
2005-06-26Made the FM frequency setting wrap aroundLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6869 a1c6a512-1295-4272-9138-f99709370657
2005-06-24Fixed yellow FM builds, and changed the function type names according to the ↵Jens Arnold
rockbox coding style. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657
2005-05-07Bugfix: debug_fm_detection was defined twice. Removed it, since it only had ↵Jens Arnold
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-04-10FM preset menu: store current preset immediately after leaving.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6265 a1c6a512-1295-4272-9138-f99709370657
2005-04-10FM preset menu: Set cursor to the current preset on enter. Added a generic ↵Jens Arnold
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-04More audio code restructuring, mostly renaming functions so farLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6247 a1c6a512-1295-4272-9138-f99709370657
2005-04-01Forgot to include sound.hLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6241 a1c6a512-1295-4272-9138-f99709370657
2005-04-01Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-03-06Bugfix: Stop running recording when leaving the radio screen with the radio ↵Jens Arnold
running (FM recorder: ON, Ondio: long OFF) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6156 a1c6a512-1295-4272-9138-f99709370657
2005-02-22fprintf() => fdprintf()Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6032 a1c6a512-1295-4272-9138-f99709370657
2004-12-26Radio screen: status bar wasn't updated when prerecording buffer was filled ↵Jens Arnold
and no button pressed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5513 a1c6a512-1295-4272-9138-f99709370657
2004-11-22An attempt to set the radio in a more defined state at bootLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5457 a1c6a512-1295-4272-9138-f99709370657
2004-10-19Phew, all features available to Ondio, too. What an #ifdef monster. New ↵Jörg Hohensohn
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-19Ondio: inaccessible button actions are now in the menu (presets+add), preset ↵Jörg Hohensohn
editing is still missing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5312 a1c6a512-1295-4272-9138-f99709370657
2004-10-19Fixed the FM preset menu button handling (again)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5308 a1c6a512-1295-4272-9138-f99709370657
2004-10-19tuner cleanup + improvements:Jörg Hohensohn
- 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-18minor touchup, to make the tuner interface independent from the IFJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5302 a1c6a512-1295-4272-9138-f99709370657
2004-10-17fix: the presence detection needs to power up the tuner firstJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5299 a1c6a512-1295-4272-9138-f99709370657
2004-10-17moved and renamed fmradio_set/get_status to power.c, where it now ↵Jörg Hohensohn
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-15Philips tuner prepared, new middle layer to abstract which tuner is usedJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5289 a1c6a512-1295-4272-9138-f99709370657
2004-10-13fix for menu button quirkJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5266 a1c6a512-1295-4272-9138-f99709370657
2004-10-10limited FM screen for the OndioJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5246 a1c6a512-1295-4272-9138-f99709370657
2004-10-07The preset menus now ignore DOWN button events, fixes bug #1041944Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5197 a1c6a512-1295-4272-9138-f99709370657
2004-10-04Adapted the FM screen to the new button code, fixes bug #1039519Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5155 a1c6a512-1295-4272-9138-f99709370657
2004-09-28a hell of a commit: changed several HAVE_xx configuration flags into ↵Jörg Hohensohn
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-19Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg
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-10temporary hacks to make it compile with the Ondio (=Player) keypad. No ↵Jörg Hohensohn
influence for the other platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5060 a1c6a512-1295-4272-9138-f99709370657
2004-08-03More const policeing step 5Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4984 a1c6a512-1295-4272-9138-f99709370657
2004-08-03More const policeing step 4Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-07-26First step in revamping the USB event handling, paving the way for the ↵Linus Nielsen Feltzing
upcoming SYS_POWER_OFF event git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4951 a1c6a512-1295-4272-9138-f99709370657
2004-07-23Fixes for the new virtual pointer conceptLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4932 a1c6a512-1295-4272-9138-f99709370657
2004-07-23New way of defining menus and options allows to declare them static const, ↵Jörg Hohensohn
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-12The FM radio screen now remembers the last used frequencyLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4865 a1c6a512-1295-4272-9138-f99709370657
2004-07-06Bass boost removed in favour of some new sound settings: Super bass and five ↵Linus Nielsen Feltzing
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-05Revamped the FM preset handling, added a force mono option, and some ↵Linus Nielsen Feltzing
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-02Added FM radio simulation, with a good station at 99.4MHzLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4823 a1c6a512-1295-4272-9138-f99709370657
2004-06-27The status bar now keeps track of the mpeg status, instead of having to call ↵Linus Nielsen Feltzing
status_set_playmode() all the time git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4806 a1c6a512-1295-4272-9138-f99709370657
2004-06-04The /recordings directory is now automatically created in the radio screen ↵Linus Nielsen Feltzing
as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4721 a1c6a512-1295-4272-9138-f99709370657
2004-04-06The FM radio screen now uses the D/A peak meter.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4470 a1c6a512-1295-4272-9138-f99709370657
2004-03-19Third step of the voice-UI: numerical settings are spoken (composed at ↵Jörg Hohensohn
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-17Oooops! Forgot to update the radio code for the button bar changesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4397 a1c6a512-1295-4272-9138-f99709370657
2004-03-14First step of the voice-UI: the menus can talk. You need a "voicefont" file ↵Jörg Hohensohn
in .rockbox to use this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
2004-03-12First step towards context sensitive and configurable menus, by Brent CouttsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
2004-03-11radio_load_presets() no longer loads more than MAX_PRESETS from the presets fileLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4361 a1c6a512-1295-4272-9138-f99709370657
2004-02-04Added a debug option for the FM radio detectionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4293 a1c6a512-1295-4272-9138-f99709370657
2004-01-21New feature: NOw you can store the recorded files in either /recordings (the ↵Linus Nielsen Feltzing
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-08use the new splash() apiDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4203 a1c6a512-1295-4272-9138-f99709370657
2004-01-05fixes the red builds, I hopeJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4193 a1c6a512-1295-4272-9138-f99709370657
2003-12-31New recording feature: Prerecord up to 30 seconds before you press the Play ↵Linus Nielsen Feltzing
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-19Automatic detection of FM radio hardware for V2 recordersLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4165 a1c6a512-1295-4272-9138-f99709370657