summaryrefslogtreecommitdiff
path: root/apps/recorder/peakmeter.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
* 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
* 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
* Guard against division by zero in the peak meter (the settings menu allows ↵Magnus Holmgren2006-08-17
| | | | | | the user the set range min and max to the same value; maybe that should be changed too). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10631 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
* 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
* 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
* Increased peakmeter accuracy in the (for recording important) -12 to 0 dB ↵Peter D'Hoye2006-07-02
| | | | | | range. Patch 5022 by Jvo Studer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10177 a1c6a512-1295-4272-9138-f99709370657
* Patch #4999 by Matthias Mohr - Peakmeter scaling dots does not respect ↵Linus Nielsen Feltzing2006-04-03
| | | | | | x-offset in peak_meter_draw git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9450 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
* Make clipping detection more sensitive for swcodec platforms by triggering ↵Peter D'Hoye2006-03-08
| | | | | | on the first peak value git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8962 a1c6a512-1295-4272-9138-f99709370657
* also enable recording cliplight when monitoring before recordingPeter D'Hoye2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8834 a1c6a512-1295-4272-9138-f99709370657
* Make peak meter work in simulator for SWCODEC targets.Dan Everton2006-02-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8815 a1c6a512-1295-4272-9138-f99709370657
* Patch #1423609 by Martin Scarratt and myself: enables using the backlight as ↵Peter D'Hoye2006-02-17
| | | | | | record clipping indicator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8722 a1c6a512-1295-4272-9138-f99709370657
* fix yellow build by removing a static unused variable from the simulator buildDaniel Stenberg2005-12-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8125 a1c6a512-1295-4272-9138-f99709370657
* iRiver recording changes:Andy2005-12-02
| | | | | | | | | - Added Peakmeter in recording screen - Fix for stop bug - Fix for playback peakmeter not working after recording git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8120 a1c6a512-1295-4272-9138-f99709370657
* Remote WPS support (and some WPS bugfixes) by Stephan WezelChristi Scarborough2005-11-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7934 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
* Initial attempt to support peak meter on iriver. It still has someMiika Pekkarinen2005-07-17
| | | | | | | strange behaviour and readings might not be correct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7182 a1c6a512-1295-4272-9138-f99709370657
* 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and ↵Jens Arnold2005-07-06
| | | | | | light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
* Second part of graphics api rework. Bitmap drawing and text output ↵Jens Arnold2005-06-28
| | | | | | converted; some code cleanup and more optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
* Core functions taking advantage of the new, optimised lcd_hline() and ↵Jens Arnold2005-06-25
| | | | | | lcd_vline() functions. Some cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
* First part of graphics api rework. Special functions, parameter handling, ↵Jens Arnold2005-06-24
| | | | | | pixel functions, lines and filled primitives done for black & white core, main display. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
* Killed some warningsLinus Nielsen Feltzing2005-06-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6587 a1c6a512-1295-4272-9138-f99709370657
* Bugfix: The peakmeter drew too much cpu power when recording, occasionally ↵Jens Arnold2005-06-04
| | | | | | causing the recording buffer to wrap before the first save finished (when fsinfo didn't contain a next-free-cluster hint so that an exhaustive search was necessary). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6558 a1c6a512-1295-4272-9138-f99709370657
* Removed 'static' keyword from non-static variables.Thom Johansen2005-04-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6356 a1c6a512-1295-4272-9138-f99709370657
* Triggered recording fixes: (1) Made it compile for Ondio FM recorder (no ↵Jens Arnold2005-04-04
| | | | | | led, button assigment). (2) Disabled trigger settings and peakmeter trigger handling for devices without recording. Saves > 2 KB of code on Ondio SP. (3) Const policed, saves some more code size. (4) Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6248 a1c6a512-1295-4272-9138-f99709370657
* Patch #868645 by Philipp Pertermann, volume triggered recording for the ↵Linus Nielsen Feltzing2005-04-04
| | | | | | Archos recording devices git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6243 a1c6a512-1295-4272-9138-f99709370657
* long policyJean-Philippe Bernardy2005-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5971 a1c6a512-1295-4272-9138-f99709370657
* make this build on systems with no HW codec (iriver/gmini)Daniel Stenberg2005-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5745 a1c6a512-1295-4272-9138-f99709370657
* Const policed pointer arguments to functions, part 4Jens Arnold2004-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5001 a1c6a512-1295-4272-9138-f99709370657
* More const policeing step 2Jens Arnold2004-08-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4980 a1c6a512-1295-4272-9138-f99709370657
* no inline for simulator compilationFelix Arends2003-01-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3194 a1c6a512-1295-4272-9138-f99709370657
* Include config.h. Fixes compile error because of new MAS define.Hardeep Sidhu2003-01-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3116 a1c6a512-1295-4272-9138-f99709370657
* Killed a dozen global variablesBjörn Stenberg2002-12-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
* Some peak meter optimizationsLinus Nielsen Feltzing2002-10-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2784 a1c6a512-1295-4272-9138-f99709370657
* Phil Pertermann's dB peak meter patchLinus Nielsen Feltzing2002-10-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2774 a1c6a512-1295-4272-9138-f99709370657
* i dumbRobert Hak2002-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2485 a1c6a512-1295-4272-9138-f99709370657
* we no longer have lang.hRobert Hak2002-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2484 a1c6a512-1295-4272-9138-f99709370657
* Made peak_meter_peek() non-staticLinus Nielsen Feltzing2002-09-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2441 a1c6a512-1295-4272-9138-f99709370657
* Philip Pertermanns peak meterLinus Nielsen Feltzing2002-09-27
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2437 a1c6a512-1295-4272-9138-f99709370657