summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Only show mountpoints containing a supported filesystem in dropdown.Dominik Riebeling2013-06-09
| | | | | | | | | Change configuration to use filtered mountpoints list. Add HFS+ to the list of supported filesystems -- while Rockbox doesn't run on HFS+ MacPods will use that format, and not having them in the list will then make OS X users wonder why their Ipod isn't showing up. This might need to get revised later. Change-Id: I5eeeb05be6780cb3952a0081df0ce782eca01589
* Add note to AMS bootloader installation about OF file.Dominik Riebeling2013-06-09
| | | | | | | | | Some devices contain a bin file in the root folder of the player. This caused confusion a couple of times, since the installer asks for a bin file. Add a note that the required file is not present on the player and will get removed automatically. Change-Id: I6cd5c25b319770555c3939377a3ed86ed3181dad
* time-sync: allow passing an arbitrary time.Dominik Riebeling2013-06-09
| | | | | | | | During testing it can be useful to set an arbitrary (non-current) time on the device. Extend time-sync to accept an additional (optional) parameter with the time to set. Only changes date / time, no timezone. Change-Id: Ib320777cb245cff19ca00b20540db3a43a4e488f
* Don't pass -Wno-unused-local-typedefs on OS X.Dominik Riebeling2013-06-09
| | | | | | | OS X' gcc 4.0 (still used to be able building fat binaries) doesn't ignore that option and instead errors out. Change-Id: Id5927ff04dc606480af9add554eeaa75c169510f
* Treat arch flags separately when building libraries.Dominik Riebeling2013-06-09
| | | | | | | | On OS X we're passing -arch twice which dependency generation doesn't like. Since we don't have dependencies that differ between architectures simply don't add them during dependency generation. Change-Id: Ie3d58bf9af31edcacb88345c7debf39eb798e302
* Fix multiple problems in radioart.cThomas Martitz2013-06-09
| | | | | | | The code was pretty broken with regard to the handle management of radio art images, e.g. passing the wrong data to bufopen(). Change-Id: I3480f40bce81af05d14dbf045a78485c857fb261
* skin_engine: Fix albumart logic on skin reloading.Thomas Martitz2013-06-09
| | | | | | | | | | | This logic checks whether the skin's albumart dimensions differ from the previous skin to force rebuffering if necessary. This was broken since a while as the necessary information was reset. Change-Id: I3b9f3a819c6af202af8ad66c13742f704ce45ab1 Reviewed-on: http://gerrit.rockbox.org/476 Tested-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* Fix temporary files stored in current folder on first start.Dominik Riebeling2013-06-09
| | | | | | | | | | | | | | If Rockbox Utility has no configuration file on the machine updateSettings() will overwrite the global cache folder settings with an empty string before the value is set properly by the user confirming the configuration dialog. QDir() getting an empty string will result in the current working directory getting used, and thus the temporary files ending up there. On Windows most users are unlikely to have noticed this since running the executable from within the distribution zip file will make Windows execute it in the systems temporary path. Change-Id: I7724a82af403955786798c7380198086837e128f
* Suppress unused-local-typedefs warning with Qt4.Dominik Riebeling2013-06-09
| | | | | | | | gcc 4.8 introduces this new warning which some Qt4 headers triggers. Since we don't want to change Qt simply disable it. The warning doesn't show up when compiling with Qt5, so only disable it for Qt4. Change-Id: Ia8fcf0859e0a370def36bc9b43ed4d096a80db28
* Rework langstat.Dominik Riebeling2013-06-09
| | | | | | | - Generally improve code and make it compliant to PEP8. - Make it work with Python3 as well. Change-Id: I9e99999c59dc501664c36dd38fcb85fb60d6d9e6
* Don't pass ar output to /dev/null.Dominik Riebeling2013-06-09
| | | | | | | | | Since ar is not running in verbose mode there is normally no output to get rid of, and in case of errors it's useful to see them. Also, Windows doesn't know about /dev/null. Make dependency generation for librbspeex more silent as well. Change-Id: Ie0d4a406e665ebd67331d6cd1fa2fc02f8bf21b9
* Fix color of files with no extension.Boris Gjenero2013-06-05
| | | | | | | | | Based on all other references, unknown_file.color is a color, not an index into custom_colors[]. Previously, custom_colors[-1] was returned for files without an extension, accessing outside array boundaries and making files without an extension black, which is hard to see. Change-Id: Ia0883aba929582324b767df7828a36a84c0b36b9
* Argh, move a comment to the (now) proper location. :)Michael Sevakis2013-05-31
| | | | Change-Id: I13847b99d9aeaa05efa5b22a8e4842f193f01a3c
* Have voice fire an event when it starts and stops playing.Michael Sevakis2013-05-31
| | | | | | | | | | | Further decouples voice_thread.c from other playback areas. Also allows other audio sources, such as FM radio, to be attenuated when voice is playing by implementing a callback. Defined as another playback event rather than a new event class: PLAYBACK_EVENT_VOICE_PLAYING Change-Id: I2e3e218be6cd6bebbf39e7883a8c0e4ed42b62bb
* Should use HAVE_RECORDING, not AUDIO_HAVE_RECORDING in playback.cMichael Sevakis2013-05-31
| | | | | | SIM should work like target, sort of, when recording is initialized. Change-Id: I12314bb98cec53d574f4b25984ef803b2c038a96
* Just init audio thread event with Q_NULL instead of SYS_TIMEOUT.Michael Sevakis2013-05-31
| | | | | | | What was I thinking? Anyway, it's a little nicer and it's reserved so shouldn't end up as a case value anywhere. Change-Id: If745c24951518608e3f4fc51f7419ef07d7cf2ac
* Some corrections after 5857c44.Michael Sevakis2013-05-31
| | | | | | | | | | Playback needs to receive a couple of settings-related messages even when not playing. Put the message reply back where it was when loading an encoder for recording. Change-Id: I8cc80f46e42a0afd119991d698510e1ebef38ead
* Refactor audio thread to run both recording and playback.Michael Sevakis2013-05-31
| | | | | | | | | | | | | | | | Eliminates the pcmrec thread and keeps playback and recording engine operation mutually-exclusive. audio_thread.c contains the audio thread which branches to the correct engine depending upon the request. It also handles the main audio initialization. Moves pcm_init into main.c just before dsp_init because I don't want that one in audio_init in the new file. (Also makes revision df6e1bc pointless ;) Change-Id: Ifc1db24404e6d8dd9ac42d9f4dfbc207aa9a26e1
* pcm_record: Track initialization stateMichael Sevakis2013-05-30
| | | | | | | It should not access audio hardware and change settings unless it has been initialized first and given control of it. Change-Id: I5004602d7caa604ded751f6838b792d1ff24b3fb
* PP Sansa: Use better I2S divider settings for 48kHz.Michael Sevakis2013-05-30
| | | | | | The previous ones produced some crackling. Change-Id: I70de901172aba156f58d4b1088d0038b2ed53d49
* Missed removing a couple unwanted includes in previous commit.Michael Sevakis2013-05-27
| | | | | | Get those too. Change-Id: Id2a39afe7a61d6ec0cea38633b94fe1b7122204f
* Remove explicit config.h and system.h includes from DSP code.Michael Sevakis2013-05-27
| | | | | | | Replace with rbcodecconfig.h and platform.h includes. Remove now- unneeded ones as well. Change-Id: I6111b71e90bf86d9fe272a7916f2d34a5c6dd724
* SPC Codec ARMv5: I didn't have fast gauss quite right.Michael Sevakis2013-05-26
| | | | | | Fix wrapping hazard which did eventually manifest on the right file. Change-Id: I996a6efd3181b56fd172b5c3a526c7434f88bbbe
* df1704: Add filter roll-off selection.Andrew Ryabinin2013-05-24
| | | | Change-Id: I732ebd3446858b497105cf03fc81e934a749a57b
* Add DAC's oversampling filter roll-off selection to sound settings.Andrew Ryabinin2013-05-24
| | | | Change-Id: I1258ba50dd9308f49d97965562f3a423c9bfb785
* Remove data_abort_handler from ARM crt0 files.Boris Gjenero2013-05-24
| | | | | | | | | | | | This causes data_abort_handler from lib/unwarminder/safe_read.S to be used instead. It allows unwarminder to avoid data aborts when displaying the backtrace. A data_abort_handler remains in system-arm.c, but it is not used because it is declared as a weak symbol. Change-Id: I832066ed514347fe697e219872e90fbdd937f477 Reviewed-on: http://gerrit.rockbox.org/475 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested-by: Boris Gjenero <boris.gjenero@gmail.com>
* Fix return address when data_abort_handler skips faulting instruction.Boris Gjenero2013-05-23
| | | | | | | | | When writing a value to PC, execution continues at that location, so subtracting 4 returns to the next instruction. Previously, two instructions after the faulting instruction were being skipped, causing safe_read functions to return true even if a data abort happened. Change-Id: I3fd02d54646323ea2050d0504e38f6d22f09c749
* Fix 6e211ab errors and warnings.Michael Sevakis2013-05-23
| | | | | | | If target has HW tone controls but no HW prescaler (non-implemented or non-existent), audiohw_set_prescaler() should, for now, do nothing. Change-Id: If1b1a36970dca82fda1c350fbaa4d6ce068a6d32
* Remove dsp_callback because DSP is now library code, not app code.Michael Sevakis2013-05-23
| | | | | | Yep, nope, not necessary anymore. Just call functions directly. Change-Id: I21dc35f8d674c2a9c8379b7cebd5613c1f05b5eb
* buflib: Remove compulsory IRQ disable during buffer move.Michael Sevakis2013-05-23
| | | | | | | | | | | | | | | | | It can cause excessively long interrupt outages if moving a larger buffer and disrupt audio where DMA is not at a higher interrupt priority such as FIQ. Some targets, like Gigabeat S, have very low audio interrupt latency requirements and will even channel swap if they are missed. Pictureflow will make the issue very obvious. Even then, moves could take milliseconds or more depending on the buffer size which is far too long for any target. Change-Id: I8e7817213e901da67c36b7eb25d7cb1c1e3ba802 Reviewed-on: http://gerrit.rockbox.org/472 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* SPC Codec: Add ARMv5 optimized code. Easy peasy.Michael Sevakis2013-05-23
| | | | | | Why? Why not? Cuts a few MHz. Change-Id: Ied5c70b1aedd255cbe5d42b7d3028bbe47aad01d
* USB: Detect charging-only mode upon cable insert, not host detect.Michael Sevakis2013-05-22
| | | | | | | | | | | | Letting go of the button before the host is detected allows storage mode to be entered even though a button was down when plugging. Sometimes the host would try several times and the button would have to be held down for several seconds to avoid a storage connection. The adjustment wasn't made when switching to setup request host detection. Change-Id: Iab3bced5bfb1478d4d9a7baab2a2a1144afaf437
* Fix CPU boosting in test_codec.Michael Sevakis2013-05-21
| | | | | | | Boost only for tests and unboost immediately afterwards. It was leaving the CPU boosted after exiting. Change-Id: I010c4b975bd27e8990dc057ddd244dab233411ca
* SPC Codec: Simplify configuration and assume nothing need be disabled.Michael Sevakis2013-05-21
| | | | | | | Most SoCs are these days are fast enough for realtime BRR, gaussian interpolation and echo processing. Change-Id: I180ce8ad45242c67b5e573a406b9522098a3f12b
* SPC Codec: Have metadata parser fill in frequency and bitrate.Michael Sevakis2013-05-21
| | | | Change-Id: I6c72f4d1c79b1a99a11fb28e7d46886c08a56a75
* SPC Codec: Need to restore a bit more data from cached waves.Michael Sevakis2013-05-21
| | | | | | 'Nuff said. Last update wasn't quite right. Change-Id: I082a79c4e0c82b968fe2375cb82ee5c3a64a208b
* Opus: fix glitch caused by 2e9aa3dNils Wallménius2013-05-21
| | | | Change-Id: I1519f3bf2cdf74f3d4741951973352b2678b7722
* Fix FS#9577 - SNES player missing tracks on certain SPCsMichael Sevakis2013-05-21
| | | | | | | | Affected BRR cached waveforms but not realtime BRR decode as far as I could ascertain. BRR cached waves required loop points to be inside the initial waveform but this change removes that restriction. Change-Id: I0ef4db720e5c28bd7b2fb9ae255d27c0a7213f79
* Fix 87021f7 errors. There is no this->echo_pos when SPC_NOECHO != 0.Michael Sevakis2013-05-21
| | | | | | Anyway, that's true now. Change-Id: I247ea9a10543a8b65f3e73495f0e2ea725ec533e
* SPC Codec: Refactor for CPU and clean up some things.Michael Sevakis2013-05-21
| | | | | | | | | | | | | CPU optimization gets its own files in which to fill-in optimizable routines. Some pointless #if 0's for profiling need removal. Those macros are empty if not profiling. Force some functions that are undesirable to be force-inlined by the compiler to be not inlined. Change-Id: Ia7b7e45380d7efb20c9b1a4d52e05db3ef6bbaab
* Opus: fix seeking to start of trackNils Wallménius2013-05-19
| | | | Change-Id: I8a8604d6726304d04281671b475b2f75f9bfc0e5
* Opus: avoid allocating space for comment packetsNils Wallménius2013-05-19
| | | | | | Fixes playback of files with large embedded album art. Change-Id: I94d336e3da968a93047dd00a5fa65e4c3423a7da
* Fix opus craches with large embedded album artNils Wallménius2013-05-18
| | | | | | | | | | | | Use the tlsf malloc and friends instead of the silly codec_malloc to get actually working free and saner realloc that doesn't leak memory. Makes files with moderately sized embedded AA play on targets with large enough codec buffers and files with too large AA are now skipped rather than crashing. Fixes crash when playing example file in FS#12842. Change-Id: I06562955c4d9a95bd90f55738214fba462092b71
* builds.pm: Add HiFi E.T MA9.Andrew Ryabinin2013-05-18
| | | | Change-Id: Ic8d31244c4ddc3924d889d0cb0d444844a1bb345
* FS#12854 - ipod-time-sync sets wrong dayBoris Gjenero2013-05-17
| | | | Change-Id: I8ac7561119e51774b9aee377e7373a7e830a5780
* Introduce new hermite polynomial resampler.Michael Sevakis2013-05-16
| | | | | | | | | | | | | | | Uses the Catmull-Rom case of Hermite cubic splines. Vastly improves the quality and accuracy of audio resampling with a rather minor additional overhead compared to the previous linear implementation. ARM and Coldfire assembly implementations included. Change-Id: Ic45d84bc66c5b312ef373198297a952167a4be26 Reviewed-on: http://gerrit.rockbox.org/304 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* Get rid of usb_drv_attach() from USB code.Michael Sevakis2013-05-14
| | | | | | | 'Twas an idiosyncrasy of detecting a host upon bus reset, which is obsolete. Change-Id: I0adb25e1805022544f52cd0cb766819a367dbde4
* usb-drv-arc: Kill trailing whitespaceMichael Sevakis2013-05-14
| | | | Change-Id: I682a8b68fa8148e5db2e06e4f261b1ea01d140ad
* Set the right variable type for ucallback :)Michael Sevakis2013-05-11
| | | | Change-Id: I19eace9452d9d0b2a6c7770549930c83ece05c80
* i.MX31: Remove long udelay from DVFS interrupt handlerMichael Sevakis2013-05-11
| | | | | | | | | Split the ISR into two parts and alllow quick return from first half. Introduces a uevent() API to have a callback happen in a specified number of microseconds. Right now only one event is supported. Change-Id: Ib1666165be2f6082e5275d64961f083cab104f9f