[rockbox] / trunk / apps / recorder / recording.c Repository:
ViewVC logotype

Log of /trunk/apps/recorder/recording.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 19006 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 4 19:57:36 2008 UTC (4 weeks, 1 day ago) by gevaerts
File length: 72708 byte(s)
Diff to previous 18960
Since *set_led_enabled() is actually an ata-specific feature, move it back to ata_* only

Revision 18960 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 1 16:14:28 2008 UTC (4 weeks, 4 days ago) by gevaerts
File length: 72523 byte(s)
Diff to previous 18807
Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do that, it also introduces sd_*, nand_*, and mmc_*.
This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD).

Revision 18807 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 14 11:12:20 2008 UTC (7 weeks, 1 day ago) by zagor
File length: 72507 byte(s)
Diff to previous 18745
Moved pcm_record from firmware to apps. Cleaned up some. Now all code using struct mp3entry is in apps.

Revision 18745 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 8 22:18:16 2008 UTC (8 weeks ago) by peter
File length: 72483 byte(s)
Diff to previous 18326
New recording setting to configure how mono recordings are made. Previously, this was always L+R, which was kinda silly if your signal was on L only. This setting allows for L, R or L+R. SWCODEC only for now, to be added for HWCODEC (although that will only be L and L+R probably)

Revision 18326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 20 22:57:02 2008 UTC (3 months, 2 weeks ago) by peter
File length: 72415 byte(s)
Diff to previous 18325
Fix broken h1x0 sim build by providing a stub for pcm_sample_rate()

Revision 18325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 20 22:33:38 2008 UTC (3 months, 2 weeks ago) by peter
File length: 72356 byte(s)
Diff to previous 18324
Recording screen: show spdif samplerate on SWCODEC targets (with spdif of course). To be adapted so this also works for HWCODEC. And to be tested as I have no cable around and a broken disk in my h120....

Revision 18324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 20 21:38:47 2008 UTC (3 months, 2 weeks ago) by peter
File length: 71363 byte(s)
Diff to previous 18283
Recording screen: do not show L/R gain settings when recording mono; do not show gain (and AGC) at all when recording via spdif.

Revision 18283 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 15 08:40:34 2008 UTC (3 months, 2 weeks ago) by peter
File length: 70934 byte(s)
Diff to previous 18282
Adapt comment to the fact that the splash is removed

Revision 18282 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 15 08:27:39 2008 UTC (3 months, 2 weeks ago) by nls
File length: 71005 byte(s)
Diff to previous 18273
FS#9281 Rename of splash functions.
* Remove gui_splash()
* Rename gui_syncsplash() to splashf() and remove its voice 
capabilities.
* Rename the internal splash() to splash_internal() and introduce an 
externally visible splash() that handles simple splashing  without 
printf functionality e.g. splash(HZ, ID2P(LANG_FOO)); or splash(HZ, 
"foo"); if a LANG_* id is passed it will be voiced.
* Adjust all places that called gui_syncsplash() to use the correct 
variant from above.
* Export both new functions to plugins and adjust places calling 
rb->splash() to use the correct variant so that we now have naming 
consistency between the core and plugins.
* Fix one latent bug that would cause my sim to crash with the above 
changes and correct P2STR and P2ID macros, thanks to pondlife.

Revision 18273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 13 21:09:10 2008 UTC (3 months, 3 weeks ago) by peter
File length: 71108 byte(s)
Diff to previous 18246
Fix a small delay in updating the recording screen. This caused the screen not to update when changing settings fast (key repeat)

Revision 18246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 11 18:32:10 2008 UTC (3 months, 3 weeks ago) by peter
File length: 71108 byte(s)
Diff to previous 18239
Adapt clip counter to compact view of recording screen

Revision 18239 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 10 21:03:07 2008 UTC (3 months, 3 weeks ago) by peter
File length: 71041 byte(s)
Diff to previous 18209
Recording screen: show a more compact view if 6 lines do not fit but 4 do. Should help things on small screens or with big fonts.

Revision 18209 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 7 11:48:56 2008 UTC (3 months, 3 weeks ago) by nls
File length: 70493 byte(s)
Diff to previous 18202
Style police, trigStat -> trig_stat

Revision 18202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 6 20:12:44 2008 UTC (3 months, 4 weeks ago) by peter
File length: 70491 byte(s)
Diff to previous 17945
First step of the recording screen redesign. The screen is split into a fixed top part containing essential data and the peakmeters/triggerbar, and a bottom part that is in fact a list. The list contains the items that can be changed, and also some stuff that isn't important enough to be on the top part, like the filename. That filename is now shown completely. If the font is too big to have 6 lines on the display, sysfont is used.

Revision 17945 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 5 12:47:34 2008 UTC (4 months, 4 weeks ago) by jdgordon
File length: 76034 byte(s)
Diff to previous 17927
fix FS#9146

Revision 17927 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 3 13:37:57 2008 UTC (5 months ago) by bertrik
File length: 76033 byte(s)
Diff to previous 17857
Implement FS#8947 - Add a stub in the simulator for ata_disk_is_active. This make it possible to clean up some #ifdef SIMULATOR macros.

Revision 17857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 28 20:45:21 2008 UTC (5 months ago) by peter
File length: 76077 byte(s)
Diff to previous 17847
Remove a viewport ambiguity by changing the screens width/heigth members into lcdwidth/lcdheight. Normal usercode should always use getwidth()/getheigth() as that returns the viewport width/height. Fixes issues that would have appeared in many places when introducing viewports with sizes != lcd sizes.

Revision 17847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 28 18:10:04 2008 UTC (5 months ago) by bagder
File length: 75905 byte(s)
Diff to previous 17763
Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml

Revision 17763 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 23 13:20:35 2008 UTC (5 months, 1 week ago) by jdgordon
File length: 75805 byte(s)
Diff to previous 17643
FS#9051 - remove LCD margins... use viewports if you need them...

NOTE to WPS people....
%m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored.
Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected.

Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0

Revision 17643 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 10:55:39 2008 UTC (6 months, 1 week ago) by jdgordon
File length: 75330 byte(s)
Diff to previous 17532
Updated recording trigger screen (seems to be a feature almost noone uses?)
problems/complaints in http://forums.rockbox.org/index.php?topic=16837.0
there is a known issue that on this screen the stop icon wont update, I dont know why and noone else wants to look at it, so hopefully this will force another set of eyes on it.. this is only a graphical issue... recordings still work fine

Revision 17532 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 15 23:00:33 2008 UTC (6 months, 2 weeks ago) by peter
File length: 75629 byte(s)
Diff to previous 17531
Fix red

Revision 17531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 15 22:47:07 2008 UTC (6 months, 2 weeks ago) by peter
File length: 75602 byte(s)
Diff to previous 17312
Accept FS #8994: add another recording filesplit option: stop recording and shutdown

Revision 17312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 3 08:35:14 2008 UTC (7 months ago) by bertrik
File length: 75041 byte(s)
Diff to previous 17280
Made source files #include the header file that they implement to make sure they are in sync. Made some local functions static.

Revision 17280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 28 16:18:04 2008 UTC (7 months ago) by bertrik
File length: 75016 byte(s)
Diff to previous 16559
Moved atoi declaration to stdlib.h. Deleted atoi.h

Revision 16559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 8 20:32:37 2008 UTC (8 months, 3 weeks ago) by peter
File length: 75034 byte(s)
Diff to previous 16557
Simplify that clip indicator reset code a bit

Revision 16557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 8 17:43:04 2008 UTC (8 months, 3 weeks ago) by peter
File length: 75134 byte(s)
Diff to previous 15938
Reset recording clipping indicators when changing gain. Solves FS #6147

Revision 15938 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 15 23:51:13 2007 UTC (11 months, 2 weeks ago) by peter
File length: 74926 byte(s)
Diff to previous 15890
Quick fix to prevent freezing of H10 (possibly others too) when left at the disk full message. Needs more investigation to find the cause of the freeze.

Revision 15890 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 7 00:31:31 2007 UTC (11 months, 4 weeks ago) by peter
File length: 74687 byte(s)
Diff to previous 15889
More code police

Revision 15889 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 7 00:28:16 2007 UTC (11 months, 4 weeks ago) by peter
File length: 74695 byte(s)
Diff to previous 15888
Code police

Revision 15888 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 7 00:07:30 2007 UTC (11 months, 4 weeks ago) by peter
File length: 74678 byte(s)
Diff to previous 15853
Fix gradient selection bar in recording screen

Revision 15853 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 30 05:14:57 2007 UTC (12 months ago) by jethead71
File length: 73538 byte(s)
Diff to previous 15811
Repair the no-spinup on start/split feature of recording. Recording directory selection broke it. Please only look at the disk during encoder loading opportunities in future additions.

Revision 15811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 26 11:51:39 2007 UTC (12 months, 1 week ago) by linus
File length: 73477 byte(s)
Diff to previous 15806
Make the recording screen handle button repeats correctly when changing gain. Fixes FS#8038.

Revision 15806 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 25 21:47:16 2007 UTC (12 months, 1 week ago) by nls
File length: 73389 byte(s)
Diff to previous 15744
Make the variable for numbers of screens to update const on non-remote-lcd targets.

Revision 15744 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 22:42:52 2007 UTC (12 months, 1 week ago) by roolku
File length: 73337 byte(s)
Diff to previous 15207
make check_dir use dir_exists and slightly optimise the latter 

Revision 15207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 19 15:43:43 2007 UTC (13 months, 2 weeks ago) by pondlife
File length: 73388 byte(s)
Diff to previous 15206
Mop up some yellow.

Revision 15206 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 19 15:31:42 2007 UTC (13 months, 2 weeks ago) by pondlife
File length: 73377 byte(s)
Diff to previous 15059
FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not just menus), hopefully save some space.

Revision 15059 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 10 01:41:48 2007 UTC (13 months, 3 weeks ago) by sdoyon
File length: 73389 byte(s)
Diff to previous 15006
Voice the recording trigger settings screen.
From FS#6325, with a slight coding improvement.
Also take out a duplicated snprintf in there.

Revision 15006 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 6 22:27:27 2007 UTC (13 months, 4 weeks ago) by jethead71
File length: 73226 byte(s)
Diff to previous 14884
Unify PCM interface just above the hardware driver level for all targets including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound.

Revision 14884 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 28 13:49:43 2007 UTC (14 months ago) by nicolasp
File length: 73252 byte(s)
Diff to previous 14868
Make the gradient look better when more than one line is selected (running time, ID3 info, cuesheet viewer...). I haven't found a solution for scrolling yet, so that won't look too good.
The recording screen code needs a bit of adapting too, but I don't have a target to test on, so leave it for now.

Revision 14868 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 27 15:42:55 2007 UTC (14 months, 1 week ago) by nicolasp
File length: 73248 byte(s)
Diff to previous 14815
FS#7808 by Tom Ross, Ken Fazzone and me, with help from Antoine Cellerier.
Add two new line selector types: solid colour and gradient. Solid colour only uses the primary colour setting.
The secondary colour setting is used for the gradient. Text colour for the selected item is also changeable.
These new settings are a bit controversial so they may be removed later.

Revision 14815 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 22 09:05:06 2007 UTC (14 months, 1 week ago) by peter
File length: 73058 byte(s)
Diff to previous 14524
small optimisation: make a locally used function static

Revision 14524 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 29 18:36:29 2007 UTC (15 months ago) by peter
File length: 73054 byte(s)
Diff to previous 14455
The clipcount string used in the rec screen should have been named sysfont. Fix also the already translated ones.

Revision 14455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 25 15:53:54 2007 UTC (15 months, 1 week ago) by peter
File length: 73054 byte(s)
Diff to previous 14198
Implement FS #2976: Clip Counter for recording screen. If enabled in peak meter settings, it shows the number of times clipping occurred (clip indicator going on). Count is reset on recording start and only counts during actual recording. Stays on screen when stopping or pauzing. Also fix a drawing bug when peakmeters start at a non-zero x offset.

Revision 14198 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 5 19:19:39 2007 UTC (15 months, 4 weeks ago) by nls
File length: 71113 byte(s)
Diff to previous 14165
*** Lang v2 cleanup (FS#6574) ***
1) Introduces apps/features.txt that controls which strings are included 
for each target based on defines.
2) .lng and .voice files are now target specific and the format versions 
of both these file types have been bumped, which means that new voice 
files are needed. 
3) Use the 'features' mechanism to exclude strings for targets that 
didn't use them.
4) Delete unused and deprecated and duplicated strings, sort strings in 
english.lang

Some string IDs were changed so translations will be slightly worse than 
before.


Revision 14165 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 3 18:55:00 2007 UTC (16 months ago) by peter
File length: 71160 byte(s)
Diff to previous 14148
Final changes to the recording naming code, this should make jhMikeS happy ;)

Revision 14148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 2 18:45:38 2007 UTC (16 months ago) by peter
File length: 71109 byte(s)
Diff to previous 14136
Even more optimizing for the recording name change...

Revision 14136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 2 10:40:47 2007 UTC (16 months ago) by amiconn
File length: 71115 byte(s)
Diff to previous 14125
Simplify the source based recording file names a bit.

Revision 14125 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 1 22:04:28 2007 UTC (16 months ago) by peter
File length: 71257 byte(s)
Diff to previous 13851
Let recording create filenames based on the recording source, closes FS #921 (yes, he waited 4 years for his feature request to make it)

Revision 13851 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 11 05:41:23 2007 UTC (16 months, 3 weeks ago) by jdgordon
File length: 70624 byte(s)
Diff to previous 13838
Rearrange and cleanup settings code

Revision 13838 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 10 07:41:37 2007 UTC (16 months, 3 weeks ago) by jdgordon
File length: 68275 byte(s)
Diff to previous 13683
User configurable recording path (my patch in FS#7201). path defaults to / and can be changed in the folder context menu (cleared in the recording settings menu)

Revision 13683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 22 09:34:57 2007 UTC (17 months, 1 week ago) by jethead71
File length: 68310 byte(s)
Diff to previous 13615
Prevent initial spinup when starting first file when in a stopped state on non-RTC targets. Fix some states that are dangerous on SWCODEC and could result in data loss. Had to make plugin API incopatible since specified numbered filename creation is enabled now on all non-RTC targets with recording; increase version and sort the items that looked like they had a place to go.

Revision 13615 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 11 08:28:38 2007 UTC (17 months, 3 weeks ago) by pondlife
File length: 67518 byte(s)
Diff to previous 13599
When recording, disable voice menus without actually modifying user settings. Patch FS#7272, fixes bug FS #6163

Revision 13599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 8 23:42:04 2007 UTC (17 months, 3 weeks ago) by jethead71
File length: 67535 byte(s)
Diff to previous 13558
Straighten out some audio path APIs and misc. audio stuff. Having recording is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first.

Revision 13558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 5 07:22:26 2007 UTC (18 months ago) by jethead71
File length: 69446 byte(s)
Diff to previous 13524
e200: Fix errors from recording addition and a warning that comes up when fixing the errors.

Revision 13524 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 30 17:57:32 2007 UTC (18 months ago) by nls
File length: 69383 byte(s)
Diff to previous 13448
Move the setvol wrapper function to misc.c and use it in more places instead of doing the same checks everywhere

Revision 13448 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 20 20:26:36 2007 UTC (18 months, 2 weeks ago) by jethead71
File length: 69663 byte(s)
Diff to previous 13406
Use bitmasks to define which inputs are available. Makes it easier to remove old assumptions of which are available. Inspired by e200 being unique in having FM Radio and Mic but no Line. Doesn't remove the assumption that Mic is available or that one of Mic and/or Line is available just to avoid excessive #ifdef'ing until needed.

Revision 13406 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 19 00:27:24 2007 UTC (18 months, 2 weeks ago) by peter
File length: 69503 byte(s)
Diff to previous 13320
Always save settings when leaving recording, not just when leaving recording settings. Should fix FS #7185

Revision 13320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 4 15:14:56 2007 UTC (19 months ago) by jethead71
File length: 69525 byte(s)
Diff to previous 13172
Get samplerate switching working in the sim to be similar to on target. Make all pcm functions available there as well.

Revision 13172 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 15 22:16:28 2007 UTC (19 months, 2 weeks ago) by amiconn
File length: 69636 byte(s)
Diff to previous 13165
Revert recording/repeat timer for now. It is useful as a feature, but didn't receive enough testing on multiple targets, and fixing it is non-trivial. Later reversal would be complicated because of .lng spreading. *  The patch should probably redone in a different way, as it's huge for what it does... * Issues: (1) The repeat timer setting has NULL pointer hits. (2) The multi-int setting screen breaks with proportional fonts, and with somewhat larger fonts. (3) On some targets, all values except the leftmost one are unreachable. * Hint: The timer itself would be much simpler if it'd just store & compare ticks (497 days before it wraps).

Revision 13165 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 15 13:56:21 2007 UTC (19 months, 2 weeks ago) by mmmm
File length: 75382 byte(s)
Diff to previous 12811
Recording countdown timer and repeat timer - see FS #6297 for more details

Revision 12811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 23:47:03 2007 UTC (20 months, 2 weeks ago) by amiconn
File length: 69636 byte(s)
Diff to previous 12807
Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from -Wundef. No code change.

Revision 12807 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 21:56:08 2007 UTC (20 months, 2 weeks ago) by amiconn
File length: 69639 byte(s)
Diff to previous 12655
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.

Revision 12655 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 01:59:29 2007 UTC (20 months, 4 weeks ago) by jdgordon
File length: 69663 byte(s)
Diff to previous 12554
Accept FS#6750, allow recording to start automatically (If alarm wakeup 
is set to recording)

Revision 12554 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 3 00:11:20 2007 UTC (21 months ago) by roolku
File length: 69433 byte(s)
Diff to previous 12520
remove runtime detection of h1x0 series RTC MOD, but leave driver code

Revision 12520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 28 13:20:36 2007 UTC (21 months ago) by roolku
File length: 69688 byte(s)
Diff to previous 12383
FS#6419 - driver for H1x0 series RTC Mod with runtime detection

Revision 12383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 18 05:07:19 2007 UTC (21 months, 2 weeks ago) by jdgordon
File length: 69433 byte(s)
Diff to previous 12380
Do the CONFIG_LED define

Revision 12380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 18 02:34:36 2007 UTC (21 months, 2 weeks ago) by jdgordon
File length: 69594 byte(s)
Diff to previous 12370
really fix red builds this time

Revision 12370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 17 23:22:37 2007 UTC (21 months, 2 weeks ago) by learman
File length: 69597 byte(s)
Diff to previous 12231
Fix most (all?) CONFIG_LED warnings.

Revision 12231 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 8 10:36:49 2007 UTC (21 months, 3 weeks ago) by jethead71
File length: 69426 byte(s)
Diff to previous 12222
Revert the changes using global status for the screen states. It should wait for a more comprehensive plan to maximize benefit if any can be had.

Revision 12222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 7 04:24:21 2007 UTC (21 months, 3 weeks ago) by jethead71
File length: 69366 byte(s)
Diff to previous 12221
Change the radio screen and recording screen to use the global_status structure for state. I guess global_status had been added already and I missed it. :D

Revision 12221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 7 02:48:19 2007 UTC (21 months, 3 weeks ago) by jethead71
File length: 69408 byte(s)
Diff to previous 12214
Don't save the in-out state of the recording screen as a setting. Fixes the statusbar icons if settings were saved while recording screen was on. Humbly may I suggest a global_state structure to do all this state checking more efficiently\? Ignore me if that's being worked on by someone.

Revision 12214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 20:30:58 2007 UTC (21 months, 3 weeks ago) by nls
File length: 69356 byte(s)
Diff to previous 12183
Ifdef some remote lcd code in the recording screen that is not used for non lcd remote targets

Revision 12183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 3 10:28:55 2007 UTC (22 months ago) by amiconn
File length: 69276 byte(s)
Diff to previous 11836
Removed unused 'mode' parameter from mkdir() for consistency with creat().

Revision 11836 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 25 14:01:47 2006 UTC (23 months, 1 week ago) by amiconn
File length: 69279 byte(s)
Diff to previous 11784
Next round of static'ing and related fixes.

Revision 11784 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 17 11:25:42 2006 UTC (23 months, 2 weeks ago) by jethead71
File length: 69154 byte(s)
Diff to previous 11706
Sims hate me again (or is that the other way). Fixup the stubs.

Revision 11706 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 10 14:32:38 2006 UTC (23 months, 3 weeks ago) by jethead71
File length: 69292 byte(s)
Diff to previous 11705
The sims hate me again.

Revision 11705 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 10 14:21:31 2006 UTC (23 months, 3 weeks ago) by jethead71
File length: 69232 byte(s)
Diff to previous 11594
Place all recording functionality on pcmrec thread to serialize all 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.

Revision 11594 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 20:11:59 2006 UTC (2 years ago) by lamed
File length: 68471 byte(s)
Diff to previous 11577
Made the AGC functions compatible with non-latin languages following the
'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.

Revision 11577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 19:21:15 2006 UTC (2 years ago) by jethead71
File length: 68391 byte(s)
Diff to previous 11533
iRiver/iAudio: Added audio_set_recording gain and sound_default to plugin API. Simplified plugin recording by target/-ing some audio functions. UDA1380 records with WSPLL as a result.

Revision 11533 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 15 21:30:53 2006 UTC (2 years ago) by jethead71
File length: 71657 byte(s)
Diff to previous 11523
H100/300: Fixed radio silence problem. Removed the wrong call in my last update. :P

Revision 11523 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 13 23:21:54 2006 UTC (2 years ago) by jethead71
File length: 71618 byte(s)
Diff to previous 11479
H100/General: HAL for S/PDIF and refinement/bufixes in optical output powering/source selection.

Revision 11479 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 9 12:27:56 2006 UTC (2 years ago) by mmmm
File length: 71703 byte(s)
Diff to previous 11452
Recording trigger for software codec targets

Revision 11452 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 6 18:07:30 2006 UTC (2 years ago) by jethead71
File length: 69785 byte(s)
Diff to previous 11101
Big Patch adds primarily: Samplerate and format selection to recording for 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.

Revision 11101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 1 10:04:40 2006 UTC (2 years, 2 months ago) by peter
File length: 69555 byte(s)
Diff to previous 11081
Prevent gain increase when using AGC in Safety mode

Revision 11081 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 27 21:36:50 2006 UTC (2 years, 2 months ago) by mmmm
File length: 69171 byte(s)
Diff to previous 11080
Oops, didnt mean to commit this

Revision 11080 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 27 21:28:47 2006 UTC (2 years, 2 months ago) by mmmm
File length: 69620 byte(s)
Diff to previous 11079
If a directory is created in the recording screen, the dir browser needs refreshing

Revision 11079 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 27 19:12:37 2006 UTC (2 years, 2 months ago) by mmmm
File length: 69114 byte(s)
Diff to previous 11010
Fixed the possiblity of fooling the recording screen into writing to a non existent directory.

Revision 11010 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 20 09:59:39 2006 UTC (2 years, 2 months ago) by pondlife
File length: 69066 byte(s)
Diff to previous 11009
Oops - put back a different #ifdef

Revision 11009 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 20 09:31:32 2006 UTC (2 years, 2 months ago) by pondlife
File length: 68996 byte(s)
Diff to previous 10991
Remove an #ifdef - simulators might talk too

Revision 10991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 18 12:41:12 2006 UTC (2 years, 2 months ago) by amiconn
File length: 69057 byte(s)
Diff to previous 10990
Reverted the recording timer commit, as it has at least 2 major problems. (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.

Revision 10990 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 18 10:06:03 2006 UTC (2 years, 2 months ago) by mmmm
File length: 75486 byte(s)
Diff to previous 10941
Recording countdown timer: set timer in recording settings screen (max 1 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.

Revision 10941 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 13 18:21:03 2006 UTC (2 years, 2 months ago) by mmmm
File length: 69057 byte(s)
Diff to previous 10908
Fix a possible division by zero which caused much "IO5: at 310205A0" type angst while recording

Revision 10908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 9 14:53:30 2006 UTC (2 years, 2 months ago) by learman
File length: 69015 byte(s)
Diff to previous 10874
Make 'Filename:' on recording screen possible to translate. Also replace some hardcoded values with sizeof.

Revision 10874 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 3 17:36:22 2006 UTC (2 years, 3 months ago) by miipekk
File length: 68782 byte(s)
Diff to previous 10871
Fixed the warning.

Revision 10871 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 3 16:20:35 2006 UTC (2 years, 3 months ago) by miipekk
File length: 68748 byte(s)
Diff to previous 10856
Fixed cpu incorrectly unboosted at boot.

Revision 10856 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 2 17:30:30 2006 UTC (2 years, 3 months ago) by mmmm
File length: 68534 byte(s)
Diff to previous 10841
Display bitrate (Q value for Archos), samplerate, channels and recording 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

Revision 10841 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 1 09:24:29 2006 UTC (2 years, 3 months ago) by mmmm
File length: 70427 byte(s)
Diff to previous 10819
Fix a display issue for targets with AGC where filetype info was overwriting the samplerate. Also filetype always displayed directly below samplerate in all modes for all targets

Revision 10819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 31 08:52:04 2006 UTC (2 years, 3 months ago) by mmmm
File length: 70041 byte(s)
Diff to previous 10789
Fix a small display issue in the FM recording mode

Revision 10789 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 28 22:38:41 2006 UTC (2 years, 3 months ago) by jethead71
File length: 69963 byte(s)
Diff to previous 10666
Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with additional FM Recording support and my modifications

Revision 10666 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 20 21:33:40 2006 UTC (2 years, 3 months ago) by mmmm
File length: 61898 byte(s)
Diff to previous 10625
Button action code for recording screen. Shouldnt make any noticable difference in recording screen button operation except for H300 I-River remote, which should now work as expected, -10 button = LCD off

Revision 10625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 16 23:26:55 2006 UTC (2 years, 3 months ago) by peter
File length: 65382 byte(s)
Diff to previous 10477
Automatic Gain Control during recording. At this point only compiled for iriver h1x0 and h3x0. Patch FS#4748 by Jvo Studer, Martin Scarratt and myself.

Revision 10477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 7 21:40:11 2006 UTC (2 years, 3 months ago) by lamed
File length: 47629 byte(s)
Diff to previous 10476
oops

Revision 10476 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 7 21:24:22 2006 UTC (2 years, 3 months ago) by lamed
File length: 47628 byte(s)
Diff to previous 10378
FS#5587 Non-latin languages support update. Translators:Please change
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.

Revision 10378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 31 13:12:40 2006 UTC (2 years, 4 months ago) by mmmm
File length: 47345 byte(s)
Diff to previous 10376
Fixed display issue if you disabled remote LCD in recording screen close to bootup time

Revision 10376 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 31 12:55:27 2006 UTC (2 years, 4 months ago) by mmmm
File length: 47031 byte(s)
Diff to previous 10285
I-River targets: A workaround for the recording interference hardware issue 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.

Revision 10285 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 22 17:23:05 2006 UTC (2 years, 4 months ago) by mmmm
File length: 45729 byte(s)
Diff to previous 10276
Added options to timesplit recording feature (now renamed filesplit). Choose 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.

Revision 10276 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 21 19:58:35 2006 UTC (2 years, 4 months ago) by mmmm
File length: 44729 byte(s)
Diff to previous 10273
on-the-fly track split support for recording with IAudioX5. Also changed button mapping: short record-start new file, long record-settings, short play-pause/resume, long play-stop. Thanks to JhMikeS for testing

Revision 10273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 21 09:23:13 2006 UTC (2 years, 4 months ago) by linus
File length: 44381 byte(s)
Diff to previous 10272
iAudio X5: allow recording of FM radio

Revision 10272 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 21 08:42:28 2006 UTC (2 years, 4 months ago) by linus
File length: 44458 byte(s)
Diff to previous 10270
Patch #5347 by Rani Hod - Adds FM radio and recording features to the iAudio X5.
Also includes a rewrite of the Coldfire I2C driver to include both read and write.

Revision 10270 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 20 22:44:10 2006 UTC (2 years, 4 months ago) by mmmm
File length: 44031 byte(s)
Diff to previous 10249
On-the-fly filesplitting when recording for I-Rivers. Record button starts new file, Play/Pause button pauses/resumes recording. Also, Filename information for all screens > 80 pixels high.

Revision 10249 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 19 15:30:40 2006 UTC (2 years, 4 months ago) by mmmm
File length: 41714 byte(s)
Diff to previous 10163
Completed implementation of display GUI code for recording and peakmeter

Revision 10163 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 00:15:43 2006 UTC (2 years, 5 months ago) by peter
File length: 40775 byte(s)
Diff to previous 10161
Relocated the iriver remote button defines and added them to settings.h as well for use elsewhere (later). Uses part of patch 5615 by Martin Scarratt. Fixed also one typo.

Revision 10161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 30 22:45:40 2006 UTC (2 years, 5 months ago) by peter
File length: 40867 byte(s)
Diff to previous 10160
Combine two ifdefs

Revision 10160 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 30 21:48:01 2006 UTC (2 years, 5 months ago) by peter
File length: 40843 byte(s)
Diff to previous 10159
Fix two warnings for h1x0 sim

Revision 10159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 30 21:24:20 2006 UTC (2 years, 5 months ago) by peter
File length: 40793 byte(s)
Diff to previous 9927
For iriver recording: do not boost while recording unless source is spdif. When saving to disk, boost if needed. Decreased max file size a bit for safety. Increases runtime while recording analog sources.

Revision 9927 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 14 23:34:24 2006 UTC (2 years, 6 months ago) by amiconn
File length: 40637 byte(s)
Diff to previous 9917
Iriver: Moved the handling of the UDA1380 split gain (analog preamp + decimator gain) into the UDA driver. * All: Settings structure sorted & cleaned up.

Revision 9917 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 23:06:42 2006 UTC (2 years, 6 months ago) by preglow
File length: 54912 byte(s)
Diff to previous 9916
Fix red sim.

Revision 9916 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 22:55:24 2006 UTC (2 years, 6 months ago) by preglow
File length: 54837 byte(s)
Diff to previous 9843
Optical S/PDIF recording and monitoring for Iriver H1x0. Removed unsupported 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!

Revision 9843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 30 23:51:24 2006 UTC (2 years, 7 months ago) by peter
File length: 54187 byte(s)
Diff to previous 9842
Fix red b