summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.c (follow)
Commit message (Collapse)AuthorAge
* 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
* Sims hate me again (or is that the other way). Fixup the stubs.Michael Sevakis2006-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11784 a1c6a512-1295-4272-9138-f99709370657
* The sims hate me again.Michael Sevakis2006-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11706 a1c6a512-1295-4272-9138-f99709370657
* Place all recording functionality on pcmrec thread to serialize all ↵Michael Sevakis2006-12-10
| | | | | | recording operations. Button mash problems should be ruled out of pcm_record.c. Add additional lightweight checks by default and display any warnings that occurred during recording in first line of recording screen when they occur by blinking back and forth from warning display to normal line (Warning: <hex bitmask>). Warnings are cleared when beginning a new recording so write the number down if you see it and file a report. Add heavier checks when PCMREC_PARANOID is defined in the player config header (encoders and pcm_record must be aware of the define since it changes the chunk header format). These checks are mainly concerned with things that may cause skipping but also add unwanted overhead for normal operation. Best used with logf enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11705 a1c6a512-1295-4272-9138-f99709370657
* Made the AGC functions compatible with non-latin languages following theShachar Liberman2006-11-25
| | | | | | | | | 'NonLatinLanguages' wiki page. Please keep using separate LANG_SYSFONT_ strings when using the internal font, Which only supports latin charset, for easier translation. * Hebrew translation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11594 a1c6a512-1295-4272-9138-f99709370657
* iRiver/iAudio: Added audio_set_recording gain and sound_default to plugin ↵Michael Sevakis2006-11-23
| | | | | | API. Simplified plugin recording by target/-ing some audio functions. UDA1380 records with WSPLL as a result. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11577 a1c6a512-1295-4272-9138-f99709370657
* H100/300: Fixed radio silence problem. Removed the wrong call in my last ↵Michael Sevakis2006-11-15
| | | | | | update. :P git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11533 a1c6a512-1295-4272-9138-f99709370657
* H100/General: HAL for S/PDIF and refinement/bufixes in optical output ↵Michael Sevakis2006-11-13
| | | | | | powering/source selection. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11523 a1c6a512-1295-4272-9138-f99709370657
* Recording trigger for software codec targetsMartin Scarratt2006-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11479 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
* Prevent gain increase when using AGC in Safety modePeter D'Hoye2006-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11101 a1c6a512-1295-4272-9138-f99709370657
* Oops, didnt mean to commit thisMartin Scarratt2006-09-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11081 a1c6a512-1295-4272-9138-f99709370657
* If a directory is created in the recording screen, the dir browser needs ↵Martin Scarratt2006-09-27
| | | | | | refreshing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11080 a1c6a512-1295-4272-9138-f99709370657
* Fixed the possiblity of fooling the recording screen into writing to a non ↵Martin Scarratt2006-09-27
| | | | | | existent directory. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11079 a1c6a512-1295-4272-9138-f99709370657
* Oops - put back a different #ifdefSteve Bavin2006-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11010 a1c6a512-1295-4272-9138-f99709370657
* Remove an #ifdef - simulators might talk tooSteve Bavin2006-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11009 a1c6a512-1295-4272-9138-f99709370657
* Reverted the recording timer commit, as it has at least 2 major problems. ↵Jens Arnold2006-09-18
| | | | | | (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
* Recording countdown timer: set timer in recording settings screen (max 1 ↵Martin Scarratt2006-09-18
| | | | | | 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
* Fix a possible division by zero which caused much "IO5: at 310205A0" type ↵Martin Scarratt2006-09-13
| | | | | | angst while recording git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10941 a1c6a512-1295-4272-9138-f99709370657
* Make 'Filename:' on recording screen possible to translate. Also replace ↵Magnus Holmgren2006-09-09
| | | | | | some hardcoded values with sizeof. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10908 a1c6a512-1295-4272-9138-f99709370657
* Fixed the warning.Miika Pekkarinen2006-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10874 a1c6a512-1295-4272-9138-f99709370657
* Fixed cpu incorrectly unboosted at boot.Miika Pekkarinen2006-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10871 a1c6a512-1295-4272-9138-f99709370657
* Display bitrate (Q value for Archos), samplerate, channels and recording ↵Martin Scarratt2006-09-02
| | | | | | format (M = MP3) in the statusbar in the recording screen. This is all new info for archos targets and I-river targets now have this info on the remote as well as the main screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10856 a1c6a512-1295-4272-9138-f99709370657
* Fix a display issue for targets with AGC where filetype info was overwriting ↵Martin Scarratt2006-09-01
| | | | | | the samplerate. Also filetype always displayed directly below samplerate in all modes for all targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10841 a1c6a512-1295-4272-9138-f99709370657
* Fix a small display issue in the FM recording modeMartin Scarratt2006-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10819 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
* Button action code for recording screen. Shouldnt make any noticable ↵Martin Scarratt2006-08-20
| | | | | | difference in recording screen button operation except for H300 I-River remote, which should now work as expected, -10 button = LCD off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10666 a1c6a512-1295-4272-9138-f99709370657
* Automatic Gain Control during recording. At this point only compiled for ↵Peter D'Hoye2006-08-16
| | | | | | iriver h1x0 and h3x0. Patch FS#4748 by Jvo Studer, Martin Scarratt and myself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10625 a1c6a512-1295-4272-9138-f99709370657
* oopsShachar Liberman2006-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10477 a1c6a512-1295-4272-9138-f99709370657
* FS#5587 Non-latin languages support update. Translators:Please changeShachar Liberman2006-08-07
| | | | | | | | | | | the 48 new LANG_SYSFONT_ strings at the end of your language file if they don't fit nicely with rockbox's internal font. (for more info http://www.rockbox.org/twiki/bin/view/Main/NonLatinLanguages) Developers:Please keep using LANG_SYSFONT strings when reffering to the internal font. * Hebrew update. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10476 a1c6a512-1295-4272-9138-f99709370657
* Fixed display issue if you disabled remote LCD in recording screen close to ↵Martin Scarratt2006-07-31
| | | | | | bootup time git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10378 a1c6a512-1295-4272-9138-f99709370657
* I-River targets: A workaround for the recording interference hardware issue ↵Martin Scarratt2006-07-31
| | | | | | when recording with a remote. Disable remote LCD while recording by pressing vol- on the remote. All remote buttons and cliplight are still operational while lcd is disabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10376 a1c6a512-1295-4272-9138-f99709370657
* Added options to timesplit recording feature (now renamed filesplit). Choose ↵Martin Scarratt2006-07-22
| | | | | | to split file by either time or filesize. Also have the option to either start a new file or stop recording at split point. Bumped config version so save your settings before you update your build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10285 a1c6a512-1295-4272-9138-f99709370657
* on-the-fly track split support for recording with IAudioX5. Also changed ↵Martin Scarratt2006-07-21
| | | | | | button mapping: short record-start new file, long record-settings, short play-pause/resume, long play-stop. Thanks to JhMikeS for testing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10276 a1c6a512-1295-4272-9138-f99709370657
* iAudio X5: allow recording of FM radioLinus Nielsen Feltzing2006-07-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10273 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
* On-the-fly filesplitting when recording for I-Rivers. Record button starts ↵Martin Scarratt2006-07-20
| | | | | | new file, Play/Pause button pauses/resumes recording. Also, Filename information for all screens > 80 pixels high. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10270 a1c6a512-1295-4272-9138-f99709370657
* Completed implementation of display GUI code for recording and peakmeterMartin Scarratt2006-07-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10249 a1c6a512-1295-4272-9138-f99709370657
* Relocated the iriver remote button defines and added them to settings.h as ↵Peter D'Hoye2006-07-01
| | | | | | well for use elsewhere (later). Uses part of patch 5615 by Martin Scarratt. Fixed also one typo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10163 a1c6a512-1295-4272-9138-f99709370657
* Combine two ifdefsPeter D'Hoye2006-06-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10161 a1c6a512-1295-4272-9138-f99709370657
* Fix two warnings for h1x0 simPeter D'Hoye2006-06-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10160 a1c6a512-1295-4272-9138-f99709370657
* For iriver recording: do not boost while recording unless source is spdif. ↵Peter D'Hoye2006-06-30
| | | | | | When saving to disk, boost if needed. Decreased max file size a bit for safety. Increases runtime while recording analog sources. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10159 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
* Fix red sim.Thom Johansen2006-05-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9917 a1c6a512-1295-4272-9138-f99709370657
* Optical S/PDIF recording and monitoring for Iriver H1x0. Removed unsupported ↵Thom Johansen2006-05-11
| | | | | | recording options on Iriver. Sample rate displayed in recording screen reflects the real S/PDIF sample rate when doing S/PDIF recording. Testing would be appreciated. Thanks to Jens Arnold for fixing the DMA hang issue. Will reset settings! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9916 a1c6a512-1295-4272-9138-f99709370657
* Fix red builds?Peter D'Hoye2006-04-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9843 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
* The recording buffer should not try to use the voice buffer, so map our ↵Peter D'Hoye2006-04-30
| | | | | | buffer after it. On swcodec targets, recording always uses this buffer so always notify the others that we did. Fixes bug 4754. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9841 a1c6a512-1295-4272-9138-f99709370657
* Recording screen: Make the peakmeter single height again on archos, bringing ↵Jens Arnold2006-04-22
| | | | | | back the sample frequency line. The recording screen still needs to be *properly* adapted to the multi-screen API, including the peakmeter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9770 a1c6a512-1295-4272-9138-f99709370657
* simulator stubs for iriver recording, iriver sims now have a recording ↵Peter D'Hoye2006-04-01
| | | | | | screen (doesn't actually record!) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9403 a1c6a512-1295-4272-9138-f99709370657