summaryrefslogtreecommitdiff
path: root/apps/recorder/radio.c (follow)
Commit message (Collapse)AuthorAge
* Fix FS#6361. Allow the FM auto-scanning to be abort with the standardJonathan Gordon2006-12-26
| | | | | | | quit button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11843 a1c6a512-1295-4272-9138-f99709370657
* Next round of static'ing and related fixes.Jens Arnold2006-12-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
* Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis2006-11-06
| | | | | | SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
* Make sure to set deemphasis correctly when starting the radio.Dominik Riebeling2006-10-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11205 a1c6a512-1295-4272-9138-f99709370657
* Fix tuning into weird frequencies at unpause after changing region settingDominik Riebeling2006-10-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11199 a1c6a512-1295-4272-9138-f99709370657
* Hopefully took care of FS#6105 - unnecessary 'recording screen' option in ↵Michael Sevakis2006-10-10
| | | | | | the radio menu causes rockbox to freeze. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11169 a1c6a512-1295-4272-9138-f99709370657
* Implement region setting for the fm tuner. The region setting affects ↵Dominik Riebeling2006-10-05
| | | | | | deemphasis, band limits and step size. Fixes FS#5929, FS#5928. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11133 a1c6a512-1295-4272-9138-f99709370657
* Fix "Disk Full" splash hang in radio screenMartin Scarratt2006-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11051 a1c6a512-1295-4272-9138-f99709370657
* Support for I-river remotes in the radio screenMartin Scarratt2006-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11033 a1c6a512-1295-4272-9138-f99709370657
* Enable FM_MODE button and add new fm context types - now the radio should be ↵Martin Scarratt2006-09-23
| | | | | | fine! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11032 a1c6a512-1295-4272-9138-f99709370657
* Fix warnings...Martin Scarratt2006-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11025 a1c6a512-1295-4272-9138-f99709370657
* Button action code implemented in the radio screen. Should get rid of all ↵Martin Scarratt2006-09-22
| | | | | | 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
* SWCODEC recording hang fixed. Fixed other trouble spots for codec swapping ↵Michael Sevakis2006-09-17
| | | | | | when playing. Removed call to audio_set_recording_options from fm_recording_settings on SWCODEC (Not proper to do ! My bad.). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10978 a1c6a512-1295-4272-9138-f99709370657
* Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with ↵Michael Sevakis2006-08-28
| | | | | | additional FM Recording support and my modifications git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10789 a1c6a512-1295-4272-9138-f99709370657
* Finally, the new button action system is here, thanks to Jonathan Gordon. ↵Linus Nielsen Feltzing2006-08-15
| | | | | | Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
* Turn off FM radio properly when starting playback, fixes FS#5706Linus Nielsen Feltzing2006-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10321 a1c6a512-1295-4272-9138-f99709370657
* Patch #5347 by Rani Hod - Adds FM radio and recording features to the iAudio X5.Linus Nielsen Feltzing2006-07-21
| | | | | | | Also includes a rewrite of the Coldfire I2C driver to include both read and write. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10272 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Moved the handling of the UDA1380 split gain (analog preamp + ↵Jens Arnold2006-05-14
| | | | | | decimator gain) into the UDA driver. * All: Settings structure sorted & cleaned up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9927 a1c6a512-1295-4272-9138-f99709370657
* Recording buffer offset must be passed on to the firmware calls, not the ↵Peter D'Hoye2006-04-30
| | | | | | other way around. Should fix yellow builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9842 a1c6a512-1295-4272-9138-f99709370657
* Added bad filename protection when user enters an fm radio preset filename. ↵Peter D'Hoye2006-04-25
| | | | | | Fixes bugreport 5137. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9795 a1c6a512-1295-4272-9138-f99709370657
* FMRadio: Zero the presets struct on new "preset scan", also replace the ↵Hristo Kovachev2006-04-03
| | | | | | hardcoded .name's length with a define git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9452 a1c6a512-1295-4272-9138-f99709370657
* Patch #2711 by Alexander Spyridakis with some changes by me: adds load/save ↵Hristo Kovachev2006-04-02
| | | | | | | | | of presets to different files; Also fix the preset menu context menu not working on the remote git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9425 a1c6a512-1295-4272-9138-f99709370657
* Support the recording screen on the LCD remote. Also adds support for the ↵Dan Everton2006-03-25
| | | | | | peakmeter in the rremote WPS. Patch from Martin Scarratt (task 4818). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9246 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Stop disabling the peak meter when stopping the radio.Magnus Holmgren2006-03-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9137 a1c6a512-1295-4272-9138-f99709370657
* Patch FS#4745 by Manuel Dejonghe 1) Get CPU out of idle mode on key press ↵Hristo Kovachev2006-03-07
| | | | | | (on targets, supporting changing of the CPU freq), thus making the radio screen more responsive; 2) Mute the radio on startup or after pause, until the chip is tuned or a timeout expires (1, resp 2 sec) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8944 a1c6a512-1295-4272-9138-f99709370657
* Do not show peakmeter and recording time on radio screen for targets with ↵Peter D'Hoye2006-03-03
| | | | | | software codec because this isn't implemented yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8897 a1c6a512-1295-4272-9138-f99709370657
* Patch #1403437 by Peter D'Hoye & Martin Scarratt: Recording gain.Hristo Kovachev2006-02-08
| | | | | | | | | | | | | | | | | | | | Changes: ***1. all platforms: 1.1 corrects gain display bug; 1.2 allows combined setting of stereo gain without an extra line on the display; 2. iRiver H1xx and H3xx specific: 2.1 correctly named the decimator variables, they were called 'gain'; 2.2 splitted decimator gain settings for mic and line-in so that they are saved separately; 2.3 added combined analog and decimator gain setting giving a smooth gain range with the best analog/decimator gain combination git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8627 a1c6a512-1295-4272-9138-f99709370657
* H300 FM radio support, with help from Peter D'HoyeLinus Nielsen Feltzing2005-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8237 a1c6a512-1295-4272-9138-f99709370657
* Ondio FM: * Bugfix: Cancelling 'Auto Scan Presets' left the radio screen. * ↵Jens Arnold2005-11-29
| | | | | | Put radio mode switch in radio menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8107 a1c6a512-1295-4272-9138-f99709370657
* oops ifdef error on FM recorderKevin Ferrare2005-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8005 a1c6a512-1295-4272-9138-f99709370657
* removed old statusbar and buttonbar codeKevin Ferrare2005-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8004 a1c6a512-1295-4272-9138-f99709370657
* refactored radio status codeAnton Oleynikov2005-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7999 a1c6a512-1295-4272-9138-f99709370657
* used generic yes/no dialog for confirmation of presets clearingAnton Oleynikov2005-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7996 a1c6a512-1295-4272-9138-f99709370657
* added "Auto scan presets" option to radio menuAnton Oleynikov2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7917 a1c6a512-1295-4272-9138-f99709370657
* replaced all the splash calls by gui_sync_splash, added some missing remote ↵Kevin Ferrare2005-11-16
| | | | | | key in the playlist viewer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7909 a1c6a512-1295-4272-9138-f99709370657
* fm radio: new preset mode, new button assignment and remote support for iRiver,Anton Oleynikov2005-11-13
| | | | | | | misc clean up and improvements git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7849 a1c6a512-1295-4272-9138-f99709370657
* Removed monitor option from audio_set_recording_options and the global ↵Andy2005-11-12
| | | | | | setting rec_monitor. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7821 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Initial support for wav-recording in recording menu. Supports ↵Andy2005-11-12
| | | | | | mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
* Sound settings rework: * Put all fixed parameters (unit, decimals, step, ↵Jens Arnold2005-11-06
| | | | | | min, max, default, set function) for the individual settings into one structure array. * Use the new individual sound setting functions where appropriate. * Added dummy sound setting functions and defined the codec type for the sims. Fixes wrong sound settings ranges in the simulators. * Code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7770 a1c6a512-1295-4272-9138-f99709370657
* iriver: Idle CPU in the FM radio screenLinus Nielsen Feltzing2005-09-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7570 a1c6a512-1295-4272-9138-f99709370657
* Enable FM presets for iriver. Add a preset via the "add" option in the ↵Dave Chapman2005-09-22
| | | | | | radio menu, and press ON/PLAY button to bring up the list of presets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7540 a1c6a512-1295-4272-9138-f99709370657
* The status bas wasn't correctly redrawn in the FM radio screenLinus Nielsen Feltzing2005-09-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7484 a1c6a512-1295-4272-9138-f99709370657
* Ondio FM button assignment: The recording screen now uses up/down to select ↵Jens Arnold2005-09-05
| | | | | | the setting, and left/right to adjust it, like the recorders. Start/pause recording is short MODE. The radio screen now requires a MODE doubleclick to start recording. This should prevent unwanted recordings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7474 a1c6a512-1295-4272-9138-f99709370657
* Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold2005-08-29
| | | | | | SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
* Major peakmeter rework: * Changed set/get functions for dbfs mode to bool ↵Jens Arnold2005-08-29
| | | | | | type. * Removed performance setting, leaving (slightly adapted) high performance mode only. * Refresh rate is always 20 Hz now. * Readout doesn't do an extra (hidden) peek, should allow for slightly better clip detection. * Brought back high performance peakmeter for recording. Peakmeter stops hogging the CPU when the disk is spinning; this is enough to avoid the performance problem when saving data. * Optimisations, code cleanup and code policeing. * (iriver) Reduced CPU load of peakmeter by not calculating excessive overlaps. ** Bumped config block version, so save your settings before upgrading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7415 a1c6a512-1295-4272-9138-f99709370657
* Const policed the radio menu.Jens Arnold2005-08-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7408 a1c6a512-1295-4272-9138-f99709370657
* FM radio: fix by Antonius Hellman, no more crash when loading preset files ↵Linus Nielsen Feltzing2005-08-24
| | | | | | with more than 32 entries git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7398 a1c6a512-1295-4272-9138-f99709370657
* iriver: Radio screen didn't properly filter stray FM_EXIT eventsLinus Nielsen Feltzing2005-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7349 a1c6a512-1295-4272-9138-f99709370657
* iriver: exit the FM screen (with FM audio on) with joystick push instead of PlayLinus Nielsen Feltzing2005-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7346 a1c6a512-1295-4272-9138-f99709370657
* FM radio simulation working againLinus Nielsen Feltzing2005-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7332 a1c6a512-1295-4272-9138-f99709370657