summaryrefslogtreecommitdiff
path: root/apps/recorder
AgeCommit message (Collapse)Author
2008-03-08Simplify that clip indicator reset code a bitPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16559 a1c6a512-1295-4272-9138-f99709370657
2008-03-08Reset recording clipping indicators when changing gain. Solves FS #6147Peter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16557 a1c6a512-1295-4272-9138-f99709370657
2008-02-06Fix FS #8514 (remote peakmeter issue) by separating the peak release times ↵Peter D'Hoye
for the screens. Thanks to amiconn for pointing in the right direction. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16234 a1c6a512-1295-4272-9138-f99709370657
2008-02-06Prevent possible buffer overflow when locating album art.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16231 a1c6a512-1295-4272-9138-f99709370657
2008-02-05Add a couple safety checks in search_albumart_files(). Should fix the ↵Nicolas Pennequin
sliding_puzzle crashes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16225 a1c6a512-1295-4272-9138-f99709370657
2008-01-19Look for albumart in .rockbox/albumart/<artist>-<album><size>.bmp in ↵Jonas Häggqvist
addition to the current locations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16110 a1c6a512-1295-4272-9138-f99709370657
2008-01-18Accept FS#8469 by Bryan Childs with a few adjustments: Remove duplicate ↵Nicolas Pennequin
strip_extension() function from albumart.c. The other one is moved from tree.c to misc.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16103 a1c6a512-1295-4272-9138-f99709370657
2008-01-10bandaid fix for FS#8168 - statusbar would be enabled if poweroff happened ↵Jonathan Gordon
while in fm screen. a proper fix is to not force the statusbar on in the fm screen, but untill that happens this is fine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16044 a1c6a512-1295-4272-9138-f99709370657
2007-12-15Quick fix to prevent freezing of H10 (possibly others too) when left at the ↵Peter D'Hoye
disk full message. Needs more investigation to find the cause of the freeze. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15938 a1c6a512-1295-4272-9138-f99709370657
2007-12-09Initial commit of the PictureFlow plugin, a nice visualization for album covers.Nicolas Pennequin
Original code by Ariya Hidayat. Rockbox port by Jonas Hurrelmann and a few tweaks by me. On the first startup the database is scanned and album art is searched for each album. This process will take some time (dircache enabled and/or database in RAM speed it up, and it is possible to abort by pressing MENU), but the results are cached and the next startups will be very quick. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15900 a1c6a512-1295-4272-9138-f99709370657
2007-12-07More code policePeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15890 a1c6a512-1295-4272-9138-f99709370657
2007-12-07Code policePeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15889 a1c6a512-1295-4272-9138-f99709370657
2007-12-07Fix gradient selection bar in recording screenPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15888 a1c6a512-1295-4272-9138-f99709370657
2007-11-30BMP loader: Handle top-down BMP files (height is negative). Note that the ↵Jens Arnold
e200 example pictures still don't work, as they are larger than the screen (not a loader problem). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15855 a1c6a512-1295-4272-9138-f99709370657
2007-11-30Repair the no-spinup on start/split feature of recording. Recording ↵Michael Sevakis
directory selection broke it. Please only look at the disk during encoder loading opportunities in future additions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15853 a1c6a512-1295-4272-9138-f99709370657
2007-11-26Make the recording screen handle button repeats correctly when changing ↵Linus Nielsen Feltzing
gain. Fixes FS#8038. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15811 a1c6a512-1295-4272-9138-f99709370657
2007-11-25Make the variable for numbers of screens to update const on non-remote-lcd ↵Nils Wallménius
targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15806 a1c6a512-1295-4272-9138-f99709370657
2007-11-21make check_dir use dir_exists and slightly optimise the latter Robert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15744 a1c6a512-1295-4272-9138-f99709370657
2007-11-21consolidate the 3 file_exists() functions into one; use the version that ↵Robert Kukla
explicitly uses dircache; give dir_exists() the same treatment for consistency git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15742 a1c6a512-1295-4272-9138-f99709370657
2007-11-20Make threads responsible for explicit cancellation of their own boosted ↵Michael Sevakis
status. Sleeping and timeouts will no longer cancel it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15709 a1c6a512-1295-4272-9138-f99709370657
2007-11-15Improved use of album name when locating the album art file: replace chars ↵Magnus Holmgren
that are invalid in file names; double quotes to single quotes, other invalid chars to underscore (now only very long album names could cause a problem). Also removed some unecessary code and reduced stack usage a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15630 a1c6a512-1295-4272-9138-f99709370657
2007-11-12Add an error check, just to be safe.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15596 a1c6a512-1295-4272-9138-f99709370657
2007-11-12Various album art improvements:Nicolas Pennequin
* Make the album art display tag static instead of dynamic, making it be drawn less often, which is good. * Add the possibility of clearing the album art bitmap instead of drawing it, and use this abaility when the display tag is inside a conditional construct. * Add the album art display tag to wps_debug.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15592 a1c6a512-1295-4272-9138-f99709370657
2007-11-11FS#8046: H10 FM tuner support. Thanks to Przemyslaw Holubowski for doing ↵Barry Wardell
the hard work in figuring out how to communicate with the tuner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15578 a1c6a512-1295-4272-9138-f99709370657
2007-11-11Album art support. Based on FS#3045, but heavily modified to adapt to MoB ↵Nicolas Pennequin
and for cleanness. The cover pictures are loaded from external bitmaps. JPEG and embedded art are not supported. The pictures will only be drawn on the main display. There is no resizing but it is possible to specify the WPS bitmap size in the bitmap names (e.g. cover.100x100.bmp). The bitmaps are stored in the main buffer and read directly from there. Currently, duplicate bitmaps will simply be present several times in the buffer, but this will be improved. To enable for a target, #define HAVE_ALBUMART in its config file. For more information, see the wiki page: http://www.rockbox.org/wiki/AlbumArt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15572 a1c6a512-1295-4272-9138-f99709370657
2007-11-10Add read_bmp_fd and make the first parameter of read_bmp_file ("filename") ↵Nicolas Pennequin
const. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15553 a1c6a512-1295-4272-9138-f99709370657
2007-11-07More voice for the radio: accept FS#6331.Stéphane Doyon
In the radio screen, speak the mode (preset or scan) when switching mode. When switching stations with the radio paused/muted, speak the current preset (number, frequency if preset is default, or spell, depending on talk_file setting). Also says the frequency if in scan mode. Change the default preset created by autoscan to be an empty string; change the preset menu callback to substitute the frequency when the preset name is empty. Add a voice callback for the preset menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15507 a1c6a512-1295-4272-9138-f99709370657
2007-10-19Mop up some yellow.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15207 a1c6a512-1295-4272-9138-f99709370657
2007-10-19FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not ↵Steve Bavin
just menus), hopefully save some space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Disable highperf mode in the peakmeter for swcodec targets, as it makes no ↵Jens Arnold
sense. Improves responsiveness a lot with a peakmeter-enabled wps on targets with slow lcd updates (e.g. G5). Added a comment why highperf mode is needed for MAS targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15140 a1c6a512-1295-4272-9138-f99709370657
2007-10-10Add the vkeyboard line end beep to (swcodec) targets with non-modal ↵Jens Arnold
keyboard. * Select modal keyboard and enable morse mode for iPod 1st/2nd gen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15066 a1c6a512-1295-4272-9138-f99709370657
2007-10-10Slight code policing.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15065 a1c6a512-1295-4272-9138-f99709370657
2007-10-10Fix red Ondio builds. Hwcodec targets can't beep that way, so disable that ↵Jens Arnold
beep for them.* Port the other vkeyboard enhancements (fixed character spelling and edit mode announcement) to the charcell vkeyboard (Player). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15064 a1c6a512-1295-4272-9138-f99709370657
2007-10-10Accessible keyboard: guard the beep with talk_menus_enabled()Stéphane Doyon
rather than the beep setting from the playback settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15062 a1c6a512-1295-4272-9138-f99709370657
2007-10-10Make the virtual keyboard easier to use for blind users.Stéphane Doyon
From FS#6324 When moving up/down and landing on the edit line, say "edit". Otherwise it gets quite confusing. When moving left and right on the edit line, sound a beep when the left or right end is reached. Before, it would say nothing either when the cursor is over a blank or a char it doesn't know how to spell. So if we're on a blank spot, say "blank". Pass the whole utf8 char to be spelled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15060 a1c6a512-1295-4272-9138-f99709370657
2007-10-10Voice the recording trigger settings screen.Stéphane Doyon
From FS#6325, with a slight coding improvement. Also take out a duplicated snprintf in there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15059 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Add a voice callback to dynamic menus, along side the text_callback.Stéphane Doyon
From FS#7563. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15042 a1c6a512-1295-4272-9138-f99709370657
2007-10-06Unify PCM interface just above the hardware driver level for all targets ↵Michael Sevakis
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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15006 a1c6a512-1295-4272-9138-f99709370657
2007-10-02Commit FS #7881 by Mark Arigo - enable radio on the Sansa c200. It seems ↵Marianne Arnold
that many (if not all) c200s have the radio hardware even if you can't use it with the original firmware... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14963 a1c6a512-1295-4272-9138-f99709370657
2007-09-28Make the gradient look better when more than one line is selected (running ↵Nicolas Pennequin
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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14884 a1c6a512-1295-4272-9138-f99709370657
2007-09-27FS#7808 by Tom Ross, Ken Fazzone and me, with help from Antoine Cellerier.Nicolas Pennequin
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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14868 a1c6a512-1295-4272-9138-f99709370657
2007-09-22small optimisation: make a locally used function staticPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14815 a1c6a512-1295-4272-9138-f99709370657
2007-09-20Make a few private functins static and use fewer bytes for constantsNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14783 a1c6a512-1295-4272-9138-f99709370657
2007-09-17minor update to gui_synclist_do_button() which will hopefully simplify ↵Jonathan Gordon
things later. Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
2007-09-09Make peakmeters work for real in swcodec simulators instead of just showing ↵Jens Arnold
random movement. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14650 a1c6a512-1295-4272-9138-f99709370657
2007-08-29The clipcount string used in the rec screen should have been named sysfont. ↵Peter D'Hoye
Fix also the already translated ones. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14524 a1c6a512-1295-4272-9138-f99709370657
2007-08-26only build the clipcounter for targets with recordingPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14467 a1c6a512-1295-4272-9138-f99709370657
2007-08-25Implement FS #2976: Clip Counter for recording screen. If enabled in peak ↵Peter D'Hoye
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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14455 a1c6a512-1295-4272-9138-f99709370657
2007-08-20Make peak release work per tick as intended. But that's too fast, so it's ↵Jens Arnold
not the final solution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14397 a1c6a512-1295-4272-9138-f99709370657
2007-08-19Revert previous 'fix' and implement the correct one, thanks markun! :-)Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14396 a1c6a512-1295-4272-9138-f99709370657