summaryrefslogtreecommitdiff
path: root/apps (follow)
Commit message (Collapse)AuthorAge
...
* Stop clickiness on manual track changes as best as possible.Michael Sevakis2012-05-07
| | | | | | | | Get the DSP_FLUSH sprinkled in the right spot so that history- keeping prcessing stages are cleared on a forced stop. They already were on a seek. Change-Id: I560f1bc5fd813a4142fa099bf53ee1658e49cd8c
* remove debug-target.hRafaël Carré2012-05-07
|
* Remove extraneous parensRafaël Carré2012-05-06
|
* get_image_filename() return value is never usedRafaël Carré2012-05-06
|
* skin_parser: simplify skin_buffer_allocRafaël Carré2012-05-06
| | | | | | - no need to cast void * return value (it is not C++) - use sizeof(*var) instead of sizeof(struct foobar), it is shorter and will stay correct if the type is changed but forgotten in the sizeof()
* rbcodec: Hooks for target specific functions in dsp_process loopMichael Sevakis2012-05-03
| | | | | | | | | | Use them to move tick counting, yielding and coldfire macsr handling code to a rockbox specific file. Change-Id: Id7417dc98c08a342eba45ba56b044a276e50564b Reviewed-on: http://gerrit.rockbox.org/229 Tested-by: Nils Wallménius <nils@rockbox.org> Reviewed-by: Nils Wallménius <nils@rockbox.org>
* Add rbcodecplatform.h and rbcodecconfig.h.Sean Bartell2012-05-03
| | | | | | | | | | | | | | | | | librbcodec users must provide these two files when the library is built. rbcodecconfig.h provides configuration #defines and basic types, and will be included by public librbcodec headers, so it must not conflict with the user's code. rbcodecplatform.h provides various OS functions, and will only be included by source files and private headers. This system is intended to provide maximum flexibility for use on embedded systems, where no operating system headers are included. Unix systems can just copy rbcodecconfig-example.h and rbcodecplatform-unix.h with minimal changes. Change-Id: I350a2274d173da391fd1ca00c4202e9760d91def Reviewed-on: http://gerrit.rockbox.org/143 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
* Clean up peak calculating code.Michael Sevakis2012-05-02
| | | | | | | | | | | | | | Mixer needn't keep peak data around that will never be used. Just pass pcm_peaks structure to it instead of allocating for every channel. Plugin API becomes incompatible. vu_meter digital mode was still using global peak calculation; switch it to playback channel like the rest. Remove some accumulated soil peaks inside pcm.c and make it more generic. Change-Id: Ib4d268d80b6a9d09915eea1c91eab483c1a2c009
* Oops, need to init the voice_buf indexes too. :-)Michael Sevakis2012-05-02
| | | | Change-Id: I12e48e9e7d70e779511aac05be6e6145d30f456a
* Use buflib for the allocation of voice PCM resources.Michael Sevakis2012-05-02
| | | | | | | | | | | | | Buffers are not allocated and thread is not created until the first call where voice is required. Adds a different callback (sync_callback) to buflib so that other sorts of synchonization are possible, such as briefly locking-out the PCM callback for a buffer move. It's sort of a messy addition but it is needed so voice decoding won't have to be stopped when its buffer is moved. Change-Id: I4d4d8c35eed5dd15fb7ee7df9323af3d036e92b3
* hm801: Tweak keymap.Andrew Ryabinin2012-05-02
| | | | Change-Id: I5e4f8eeae0f6d6eb836dc75570589e4d5c961a3d
* rbcodec refactoring: autoresumableSean Bartell2012-05-01
| | | | | | | | Moved to playback.c, since it doesn't use metadata from the music file. Change-Id: I5c3ad7750d94b36754f64eb302f96ec163785cb9 Reviewed-on: http://gerrit.rockbox.org/142 Reviewed-by: Nils Wallménius <nils@rockbox.org>
* Make DSP's replaygain independent of global_settings.Michael Sevakis2012-04-30
| | | | | | | | | | Moves replaygain definitions to lib/rbcodec/dsp/dsp_misc.h. Intermediate functions in misc.c handle any adjustment and calling the rbcodec APIs. Change-Id: I9f03561bca9aedd13760cf19c4e19aa3c68e7024 Reviewed-on: http://gerrit.rockbox.org/140 Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
* brickmania: Disable resuming after game overWieland Hoffmann2012-04-30
|
* Make rbcodec/dsp includes more specific.Michael Sevakis2012-04-29
| | | | Change-Id: Idb6af40df26f5b8499a40e8b98602261ef227044
* M5/X5 (MCF5250): Scoot the core/plugin IRAM boundary forward by 0x800.Michael Sevakis2012-04-29
| | | | Change-Id: I482fe3f4f2f59a3f17026e796c245c4efa8279f3
* Oops forgot to remove test_codec from plugin SOURCES.Michael Sevakis2012-04-29
| | | | Change-Id: I2730db9430ff688f74a86e6ea8818d0c306aa511
* Fundamentally rewrite much of the audio DSP.Michael Sevakis2012-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creates a standard buffer passing, local data passing and messaging system for processing stages. Stages can be moved to their own source files to reduce clutter and ease assimilation of new ones. dsp.c becomes dsp_core.c which supports an engine and framework for effects. Formats and change notifications are passed along with the buffer so that they arrive at the correct time at each stage in the chain regardless of the internal delays of a particular one. Removes restrictions on the number of samples that can be processed at a time and it pays attention to destination buffer size restrictions without having to limit input count, which also allows pcmbuf to remain fuller and safely set its own buffer limits as it sees fit. There is no longer a need to query input/output counts given a certain number of input samples; just give it the sizes of the source and destination buffers. Works in harmony with stages that are not deterministic in terms of sample input/output ratio (like both resamplers but most notably the timestretch). As a result it fixes quirks with timestretch hanging up with certain settings and it now operates properly throughout its full settings range. Change-Id: Ib206ec78f6f6c79259c5af9009fe021d68be9734 Reviewed-on: http://gerrit.rockbox.org/200 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* rbcodec refactoring: get_audio_base_data_typeSean Bartell2012-04-28
| | | | | | | | | | This function has been changed to rbcodec_format_is_atomic, which doesn't require an enum from the kernel. Change-Id: I1d537605087fe130a9b545509d7b8a340806dbf2 Reviewed-on: http://gerrit.rockbox.org/141 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
* Fix up some more type stuff in pcmbuf.c.Michael Sevakis2012-04-27
| | | | | | (Never seem to find it all at once :-) Change-Id: I4b3d145c6d90be13f9afc8a72d8d87a92de88d88
* rbcodec refactoring: dsp_set_eq_coefsSean Bartell2012-04-27
| | | | | | | | | dsp_set_eq_coefs now has parameters for the band settings, so it doesn't need to access global_settings. Change-Id: I29ac19fc353b15a79cb25f0e45132aef0881e4c9 Reviewed-on: http://gerrit.rockbox.org/138 Reviewed-by: Nils Wallménius <nils@rockbox.org>
* Consolidate compressor settings into a struct.Michael Sevakis2012-04-26
| | | | | | Doing that makes things cleaner for later on. Change-Id: I4e279aa57ace16a348acc0fc09059592325ec95f
* Oops, Shoulda been "int16_t" not "uint16_t".Michael Sevakis2012-04-26
| | | | Change-Id: Ic2a54e9f283acb1c362857a3f1422ed3c532249f
* Adjust some typing in voice_thread.c. Constants are also counts, not sizes.Michael Sevakis2012-04-26
| | | | Change-Id: I05700f6c87c775e98f05323d2ab0550fad8befd7
* test_codec: Fix some problems with writing WAV with DSPMichael Sevakis2012-04-26
| | | | | | | | | | On big-endian architecture, DSP output must be coverted to little- endian first. DSP output is also always interleaved stereo, 16 bit, NATIVE_FREQUENCY and wavinfo should be correct for this. Also, use standard clip_sample_16 already available. Change-Id: Ifa7b9fc77f0573070c7e79f059dc3000c437c42e
* MPEGPlayer: Fixup typecasting for PCM buffer a bit.Michael Sevakis2012-04-26
| | | | Change-Id: I96cca97c1effe5fe2cf84271b123928ebe38e2a7
* Add codecs to librbcodec.Sean Bartell2012-04-25
| | | | | | | Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: http://gerrit.rockbox.org/137 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
* cook: fix incorrect memset size argumentBertrik Sikken2012-04-22
| | | | Change-Id: I927380cd789c1a86ac2d4d6af667c6f39cf933d9
* libgme: fix incorrect memset size argumentBertrik Sikken2012-04-22
| | | | Change-Id: If663b3881cedaefd837a06e3f60e4d28938c2295
* Simplify warning suppression for unused argumentBertrik Sikken2012-04-22
| | | | Change-Id: If8d6e3669dca3ba8351e949ef901809e87f94366
* Fix Rockblox plugin display issues on Clip ZipMarty Miller2012-04-22
| | | | | | Added Rockblox background, layout and detection for 96x96x16 displays Change-Id: I4585d5e679851b5696542269fe2123cf7df200de
* hm801: Update keymaps.Andrew Ryabinin2012-04-19
| | | | Change-Id: Ie1ecf4bcffd59493f6c8c0031a25b34b147984cd
* hm60x: Update keymaps.Andrew Ryabinin2012-04-19
| | | | Change-Id: I0d4d8c7cc739154e879bb01e1e9efa0f1095f8ce
* hm801: Add support for plugins.Andrew Ryabinin2012-04-19
| | | | Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
* hm60x: Add support for plugins.Andrew Ryabinin2012-04-19
| | | | Change-Id: I4cad0881c8249f163680a280f70d1a0b36248da8
* hm60x/hm801: Buttons rework.Andrew Ryabinin2012-04-19
| | | | | | | | - Add BUTTON_POWER. - hm60x: Rename BUTTON_PLAY to more proper BUTTON_SELECT, which will make it possible to unify hm60x and hm801 keymaps in some plugins. Change-Id: I84715cdbc79d00c1bc2e8e6bd492159ad3c3422b
* touchscreen/lists: fix two regressionsThomas Martitz2012-04-17
| | | | | | | * fix potential stack overflow through recursion * fix using using the scrollbar during active kinetic scrolling animation Change-Id: Iaf124970a60d3f0c2ee7919ac278f2d6ac329e47
* mikmod plugin: make functions static when possibleBertrik Sikken2012-04-14
| | | | Change-Id: Ic0102071318c55c19952029be6998ecf5f33eb98
* superdom plugin: make functions/variables static where possibleBertrik Sikken2012-04-14
| | | | Change-Id: Ibe0d8daacd9b7b9da506b3efe46092b9433d52ef
* FS#12611 - European Portuguese translation update (11th March)Gabriel Maia2012-04-14
| | | | | | Signed-off-by: Bertrik Sikken <bertrik@sikken.nl> Change-Id: I80774667d233470a3b320b2ebe67855fbeaa48ac
* Remove a useless sleep() from hosted's init().Thomas Martitz2012-04-10
| | | | | | Speeds up startup by 0.5s yay! Change-Id: I3bc00748680acd236c412eae84f5e924e0462889
* Call radio_init() from hosted's init() too.Thomas Martitz2012-04-10
| | | | Change-Id: Ib18874ab5ed4a57ae352a9c78bf3501247668a06
* touchscreen: fix some issues/crashes with clicking the list title.Thomas Martitz2012-04-10
| | | | Change-Id: I31adb012ac39f9b27f6b91f5077ed4195ba1dc02
* Use two lined display in properties.Dominik Riebeling2012-04-09
| | | | | | | | Depending on the length of the values to display having both entry title and value in the same line can be hard to read if the display isn't wide enough. Similar to the metadata view use two lines for each entry. Change-Id: I9a2dfe78e02b0460add1681115b0c4781d74af17
* touchscreen: fix swipe scrolling (jumped back to previous item).Thomas Martitz2012-04-08
| | | | Change-Id: I055a5b19dec1db3ad31212dadc11b0f5056be832
* touchscreen: Rewrite kinetic scrolling using a state machine.Thomas Martitz2012-04-08
| | | | | | | | | | | The old code was very confusing. The scrolling modes need to be handled differently, thus a state machine makes sense. Should fix numerious glitches and be easier to maintain. NOTE: Behavior is still a bit glitchy with an SBS in use, because the skin engine sees the touch events earlier than the list code. Change-Id: I4ccead359c81de0d0fc3dea636fe2cb3a28d1bc6
* touchscreen: Fix kinetic scrolling when the statusbar is off.Thomas Martitz2012-04-05
| | | | | | | | | | | The scrolling code cannot differentiate between the BUTTON_TOUCHSCREEN post from normal touches and the one posted in the timeout callback. To fix introduce a global special button (BUTTON_REDRAW) that results in the desired redraw. This existed already as a local kludge for android and is now generalized. Change-Id: I6bfa6c66431c48f5042fcd8fce2ea72cd3457f58
* Build libspc with -03 on m68k (Coldfire).Michael Sevakis2012-04-05
| | | | Change-Id: I00d918735bde2a03f17c3bb68400bf619a8429d4
* Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz2012-04-04
| | | | | | handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
* More completely flush WMA decoder state on seek to prevent artifact.Michael Giacomelli2012-04-03
| | | | | | | | Each MDCT depends on the previous frame for reconstruction. Previosly these were not zeroed out when seeking, resulting in a few milliseconds of the previous frame playing with the current one. Fix that. Additionally, since the codec treats seeks to the start of a track as a "reset", flush the entire codec state in this event to ensure that everything is reset. Change-Id: If593621a2922b0bbfa34f926f9bff31bee6b8c6a