summaryrefslogtreecommitdiff
path: root/apps/recorder
AgeCommit message (Collapse)Author
2010-06-27FS#10925 by myself: add touchscreen support for virtual keyboard.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27156 a1c6a512-1295-4272-9138-f99709370657
2010-06-26e200v1/c200v1: Implement limited samplerate switching. Rates 24kHz and below ↵Michael Sevakis
are being a bear as far as minor crackling at higher amplitude-- leave them out for the time being since no solution is currently evident. 48, 44, 32 (rec rates 24, 22, 16) seem perfectly fine. I'm betting c200 is ok to include because it uses the same setup as e200. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27139 a1c6a512-1295-4272-9138-f99709370657
2010-06-21I shouldn't have touched backlight.c at all :\ Also fix the yellow in ↵Thomas Martitz
peakmeter.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27022 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz
#if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR). The new define is to (de-)select code to compile on hosted platforms generally. Should be no functional change to targets or the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
2010-06-11FS#11335 by me: make ARM assembly functions thumb-friendlyRafaël Carré
We can't pop into pc on ARMv4t when using thumb: the T bit won't be modified if we are returning to a thumb function Code running on ARMv4t should use the new ldrpc / ldmpc macros instead of ldr pc, [sp], #4 and ldm(cond) sp!, {regs, pc} No modification on pure ARM builds and ARMv5+ Note: USE_THUMB is currently never defined, no targets can currently be built with -mthumb, see FS#6734 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26756 a1c6a512-1295-4272-9138-f99709370657
2010-06-09keyboard: clean up. remove unneeded #ifdefs.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26720 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Virtual keyboard: enable line edit mode as an alternative on all target. ↵Marianne Arnold
There were only a very few that didn't offer it yet. The KBD_MODES define could be removed too now but I leave that to someone else. ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26612 a1c6a512-1295-4272-9138-f99709370657
2010-05-26Fix r26298 yellow: Somehow missed those warnings. Need playback.h.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26299 a1c6a512-1295-4272-9138-f99709370657
2010-05-26SWCODEC: Wait for audio init to complete before starting radio or recording; ↵Michael Sevakis
hardware init might not be finished yet if those are the start screens. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26298 a1c6a512-1295-4272-9138-f99709370657
2010-05-24Make PCM->driver interface about as simple as it will get. Registered ↵Michael Sevakis
callback, zero data, alignment and stops are handled entirely inside pcm.c; driver merely calls fixed pcm.c callback. Remove pcm_record_more and do it just like playback; the original reason behind it isn't very practical in general. Everything checks out on supported targets. There wer some compat changes I can't check out on many unsupoorted but if there's a problem it will be a minor oops. Plugins become incompatible due to recording tweak-- full update. Sorted API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26253 a1c6a512-1295-4272-9138-f99709370657
2010-05-17split the radio code into multiple files in the hope that makes it more ↵Jonathan Gordon
likely for someone to want to work on! :D git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26109 a1c6a512-1295-4272-9138-f99709370657
2010-05-16yellow go bye byeJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26080 a1c6a512-1295-4272-9138-f99709370657
2010-05-16FS#11263 - Radio Art support! %C and %Cl tags work in the radio screen and ↵Jonathan Gordon
Base Skin when the radio is running. put your station images in .rockbox/fmpresets/<preset name>.bmp or .jpg. Must be in preset mode and the preset name must match the filename git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26078 a1c6a512-1295-4272-9138-f99709370657
2010-05-14Enable recording on clipv1/m200v4/c200v2Rafaël Carré
Use smaller recording buffer and watermarks on these models with 2MB of ram Rearrange watermark calculation expressions so we can use fractional numbers of seconds but still with integer results Only enable spinup time adjustement for ATA targets Flash targets (sansas and ondiofm) should still work fine, but they were not tested git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26014 a1c6a512-1295-4272-9138-f99709370657
2010-05-13fix FS#11264 - frequency bar and presets not working in the sbsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25982 a1c6a512-1295-4272-9138-f99709370657
2010-05-12fix the last of the reds, and make RDS tags actually work (and add them to ↵Jonathan Gordon
the hardcoded radio skin) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25966 a1c6a512-1295-4272-9138-f99709370657
2010-05-12fix red and yellow (most of it anyway)Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25965 a1c6a512-1295-4272-9138-f99709370657
2010-05-12FS#10853 - Skin support in the radio screen! Check CustomWPS for the new tagsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25964 a1c6a512-1295-4272-9138-f99709370657
2010-05-09slightly rework peakmeter handling to make it cleaner and be able to be used ↵Jonathan Gordon
in conditionals git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25913 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Fix some more snprintf related warnings.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25853 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Make creat() posix compliant API-wise. Shouldn't affect the core as it's ↵Thomas Martitz
wrapped via a static inline. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
2010-04-06Make array static const in apps/recorder/jpeg_load.cBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25500 a1c6a512-1295-4272-9138-f99709370657
2010-03-31Fix FS#11152 in a cleaner way. At least on the sim, the state remained in ↵Frank Gevaerts
FMRADIO_PLAYING forever after r25403, which broke (at least) the playback mode display in skins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25408 a1c6a512-1295-4272-9138-f99709370657
2010-03-30Make sure FM Tuner is stopped at initRafaël Carré
Author: Doru Barbu Flyspray: FS#11152 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25403 a1c6a512-1295-4272-9138-f99709370657
2010-03-08Fix two warnings that appear with gcc4.4.3. The one in recording.c ↵Thomas Martitz
("compact_view is used uninitialized" seems to be false positive unfortunately). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25082 a1c6a512-1295-4272-9138-f99709370657
2010-03-08fix yellowPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25077 a1c6a512-1295-4272-9138-f99709370657
2010-03-08change histogram display principle to scrolling and simplify the code a bitPeter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25074 a1c6a512-1295-4272-9138-f99709370657
2010-03-06fix cutoff of f2/f3_rec_screen in the recording screen. Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25046 a1c6a512-1295-4272-9138-f99709370657
2010-03-03FS#10756 - Free unused init codeThomas Martitz
Introduce a new .init section for initialisation code, so that it can be copied to an area which is later overwritten before calling. The stack/bss can then overwrite that code, effectively freeing the code size that the initialisation routines need. Gives a few kB ram usage back. Only implemented for PP and as3525 so far. More targets could be added, as well as more functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25013 a1c6a512-1295-4272-9138-f99709370657
2010-03-03Histogram display on recording screen. Based on the work of Jvo Studer in FS ↵Peter D'Hoye
#5021 but reduced and reworked since the recording screen code changed quite a bit since his patch. For now enabled on iriver h1x0 and h3x0 only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25007 a1c6a512-1295-4272-9138-f99709370657
2010-02-25keyboard: accept FS#11047 partially with some modifications. make some parts ↵Teruaki Kawashima
in switch() in kbd_input() to separate functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24902 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Factor out some drawing code.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24796 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Quickscreen for the radio screen. I added a keymap for almost all targets. I ↵Thomas Martitz
couldn't find a nice one (i.e. one that's consistent with the wps/menu quickscreen combo) for iaudio m3, ondavx747 and the gogears. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24795 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Fix up Fuze's radio keymap a bit.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24794 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Remove a few unused definesThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24793 a1c6a512-1295-4272-9138-f99709370657
2010-02-18FS#10535: bmp viewer plugin.Teruaki Kawashima
* changed bmp.c so that it loads bitmap larger than LCD correctly. * removed bmp entry form inbuilt_filetypes in filetypes.c so that bmp files will be opened with bmp viewer when selected in browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24754 a1c6a512-1295-4272-9138-f99709370657
2010-02-14keyboard: check length of the last line. avoid dividing by 0.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24643 a1c6a512-1295-4272-9138-f99709370657
2010-02-13keyboard: stretch dispalying of virtual keyboard to fit the screen width if ↵Teruaki Kawashima
possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24631 a1c6a512-1295-4272-9138-f99709370657
2010-02-11fix typoSzymon Dziok
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24601 a1c6a512-1295-4272-9138-f99709370657
2010-02-11Packard Bell Vibe 500: correct main keymaps, enable full keyboard editing, ↵Szymon Dziok
enable morse input. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24600 a1c6a512-1295-4272-9138-f99709370657
2010-02-04keyboard: make some parts of kbd_input into separate functions.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24510 a1c6a512-1295-4272-9138-f99709370657
2010-01-31keyboard: a bit of rework in keyboard.Teruaki Kawashima
* remove hangul thing from struct keyboard_parameters. * add new structure to hold state of edting and to be passed to functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24411 a1c6a512-1295-4272-9138-f99709370657
2010-01-16FS#10785: Add new context CONTEXT_MORSE_INPUT for keymaps which is used ↵Teruaki Kawashima
during morse input mode in virtual keyboard. This will enable to use morse input on targets that doesn't have enough key for both the keyboard and morse input in one context. Enable morse input on archosondio as an example. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24250 a1c6a512-1295-4272-9138-f99709370657
2010-01-03Coldfire targets: Restore EMAC status after using the EMAC for bitmap ↵Jens Arnold
resizing. Fixes FS #10412. The tone and EQ filter calculation relies on the proper EMAC mode. EQ filters were not affected because they're set from a different thread, hence FS #10412 only affected the iAudios (coldfire + albumart + software tone controls). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24164 a1c6a512-1295-4272-9138-f99709370657
2010-01-03Disable speaker when recording to prevent feedback.Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24163 a1c6a512-1295-4272-9138-f99709370657
2010-01-03Fix further tabsAndree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24156 a1c6a512-1295-4272-9138-f99709370657
2009-12-21fix FS#10870 - slightly change the viewportmanager theme undo-er to be able ↵Jonathan Gordon
to force an update even if the theme isnt being toggled from off to on which caused WPS artifacts when leaving the WPS if the theme was enabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24087 a1c6a512-1295-4272-9138-f99709370657
2009-12-15Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, andTomer Shalev
to target naming conventions in general git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
2009-12-09FS#10824 - viewport/statusbar API rework.Jonathan Gordon
Hopefully the only user visible changes are: - fm and recording screens go by the statusbar setting (sbs or inbuilt) - plugins go back to using the theme as they should for menus and lists - splash screens might get cut a bit... entirely theme and splash dependant.. if there is a problematic one we can look at it later. - hopefully nothing more than very minor screen flickerings... let me know exactly where they are so they can be fixed New GUI screen rules: * Screens assume that the theme (sbs+ui viewport+ maybe background image) are always enabled. They may be disabled on a per display basis, but MUST be re-enabled on exit * Screens must not be coded in a way that requires a statusbar of any type.. the inbuilt bar will be removed shortly. ALWAYS RESPECT THE USERS SETTINGS unless the screen requires the full display to fit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23904 a1c6a512-1295-4272-9138-f99709370657