summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Keep fixing 0c7b787 stuffMichael Sevakis2013-04-15
| | | | Change-Id: I0678d3307fbcad32156f9f4e0f8b90eed5a20d92
* Fix some more errors and warnings from 0c7b787.Michael Sevakis2013-04-15
| | | | Change-Id: Ib67d0ab344e36964cadbcc982dc2afe35733770b
* Hopefully knock out most of the red and yellow from 0c7b787.Michael Sevakis2013-04-15
| | | | Change-Id: Ib8dd0d011b11ee3eded3025308f19ddb5d151b59
* Straighten out the mad twisted state of sound.c and related areas.Michael Sevakis2013-04-15
| | | | | | | | | | | | | | | | | | This is going right in since it's long overdue. If anything is goofed, drop me a line or just tweak it yourself if you know what's wrong. :-) Make HW/SW codec interface more uniform when emulating HW functionality on SWCODEC for functions such as "audiohw_set_pitch". The firmware-to- DSP plumbing is in firmware/drivers/audiohw-swcodec.c. "sound_XXX" APIs are all in sound.c with none in DSP code any longer. Reduce number of settings definitions needed by each codec by providing defaults for common ones like balance, channels and SW tone controls. Remove need for separate SIM code and tables and add virtual codec header for hosted targets. Change-Id: I3f23702bca054fc9bda40f49824ce681bb7f777b
* Use equivalent puts_scroll() call.Thomas Martitz2013-04-14
| | | | Change-Id: I09e5046f153a276fa6eb047e040b8f752e73d03c
* rk27xx: do not attenuate signal twice in analog bypass modeMarcin Bukat2013-04-12
| | | | Change-Id: I108091adaa05e53ccb8bbe3d60ca35e2191a39fd
* rk27xx: avoid one multiply in udelay() as pointed by kugelMarcin Bukat2013-04-12
| | | | Change-Id: Ie33a393b0d4c4b45975ca53ced91dd9f03369db1
* rk27xx: make udelay() more accurateMarcin Bukat2013-04-12
| | | | Change-Id: Ic448c4e5ec52af6aaeebccee4feea49954394677
* hm60x/hm801: Fix balance by enabling sw volume control.Andrew Ryabinin2013-04-12
| | | | Change-Id: I8760b58d5b801409f35370d812d72f8d578d2889
* Fix f5a5b94 errors. Employ SW volume for select targets on SIM.Michael Sevakis2013-04-11
| | | | | | | | | | | Onda VX747 sim was missing a limits #define; #include limits.h in pcm_sw_volume.h. Simply use the software volume control for the SIM volume control rather than the SDL volume control when the target would have it natively. Change-Id: I8e924a2ff1b410f602452d2ea9b691efb82c931e
* Implement universal in-PCM-driver software volume control.Michael Sevakis2013-04-11
| | | | | | | | | | | | | | | | | | | | | | Implements double-buffered volume, balance and prescaling control in the main PCM driver when HAVE_SW_VOLUME_CONTROL is defined ensuring that all PCM is volume controlled and level changes are low in latency. Supports -73 to +6 dB using a 15-bit factor so that no large-integer math is needed. Low-level hardware drivers do not have to implement it themselves but parameters can be changed (currently defined in pcm-internal.h) to work best with a particular SoC or to provide different volume ranges. Volume and prescale calls should be made in the codec driver. It should appear as a normal hardware interface. PCM volume calls expect .1 dB units. Change-Id: Idf6316a64ef4fb8abcede10707e1e6c6d01d57db Reviewed-on: http://gerrit.rockbox.org/423 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* fix yellowMarcin Bukat2013-04-11
| | | | Change-Id: Ide0df2c3719d6100c6dc61515bf7acf6ac11231b
* rk27xx: implement radio supportAmaury Pouly2013-04-11
| | | | | | | Change-Id: I59d3905e9b2a3df8aa235e424c7a6e0eff6d73e9 Reviewed-on: http://gerrit.rockbox.org/427 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested-by: Marcin Bukat <marcin.bukat@gmail.com>
* Move fixedpoint.h to be accessible in /firmware.Michael Sevakis2013-04-10
| | | | | | | | | | Will need it soon enough. Combine the contents of all the various fixedpoint.h files. Not moving fixedpoint.c for now since I'm not sure where it should be and it causes some dependency issues. Change-Id: Ideacbca2ca78f9158c2b114b113c274f68e908d5
* Consolidate identical fixedpoint exp and ln functions.Michael Sevakis2013-04-09
| | | | | | | | grey_core.c and fixedpoint.c each had their own copies. grey_core.c can use the ones fixedpoint.c. fixedpoint.c gets the more complete and optimized version of fp_16exp from grey_core.c. Change-Id: I43ee3add60796b06ed12012fbbd91815d64675a6
* Add missing USB IDs.Dominik Riebeling2013-04-09
| | | | | | | | The new autodetection will always use USB IDs to identify players (among other means). Add missing IDs for players the current implementation relies on other means for detection only. Change-Id: I037c23705518210b6ed93b4d13ccb96d933aa198
* Change autodetection result to a list.Dominik Riebeling2013-04-09
| | | | | | | | | | | | | | | | | Both autodetection functionality and the configuration dialog assumed detection to only return one found device. This isn't necessarily true, especially since some players can be detected but detecting their mountpoint might be ambiguous (only if no previous Rockbox installation is present). Instead of returning individual results (found "ok" player, found "error" player etc.) return a list containing an entry for each player. Current autodetection code will never return more than one entry since it doesn't handle multiple devices yet, and the configuration dialog will show an error if multiple devices are found. Thus there is no user visible change yet. Both autodetection and configuration dialog can now get extended to handle multiple devices. Change-Id: I79b763dbd6e7111783194bcc22ab7cc06a4061c1
* rk27xx: fix i2c driverMarcin Bukat2013-04-09
| | | | Change-Id: I205cc92f452c1990c64da7e91b2baf00b920c922
* bookmark: add cancelling of autoload bookmarkRichard Quirk2013-04-06
| | | | | | | | | | | When autoload bookmark is set to "Ask", navigate to a file with bookmarks in that directory. Select the file and the bookmark list appears. Even if you chose to cancel, the track started prior to this patch. Change-Id: I453999a9bc20faae97f9cf2080ef613c602ad8e1 Reviewed-on: http://gerrit.rockbox.org/416 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
* Fix ipodpatcher on OS X.Dominik Riebeling2013-04-05
| | | | | | Fix a typo and update CC handling for OS X. Change-Id: Icde3cb5956ffe45ee1d610ff34957ed7b17f3f02
* Replace the use of uname to get the build output.Dominik Riebeling2013-04-05
| | | | | | | | | | Using uname has a couple of problems, especially when cross compiling. Instead check the defines set by the preprocessor to figure the type of binaries it produces. This improves support for cross compiling as it allows to (1) select the correct default target and (2) makes it possible to use separate build folders for different targets. Change-Id: I69a32904dab97755034f2f0d63f8402309d479d2
* Fix Qt5 / MinGW problems.Dominik Riebeling2013-04-04
| | | | | | Add missing multimedia module and update some includes. Change-Id: I98c65c4f2e21e6a63d552669468b1da313520499
* Rename "interface" parameter.Dominik Riebeling2013-04-04
| | | | | | | Current MinGW #defines interface, causing the preprocessor messing up the function parameter. Rename it to avoid this. Change-Id: Id49edbfc056a42456d88c9e260e54844e8b1ca07
* Add ANDROID_SDK_PATH and ANDROID_NDK_PATH to generated Makefile.Dominik Riebeling2013-04-04
| | | | | | | | | Previously it was sufficient to set those variables when running configure. Since ANDROID_NDK_PATH is now also used in the Android Makefile set both variables in the generated Makefile as well -- not everyone has (or wants) to set them globally in the environment. Change-Id: Ib64ffeea379c58c9d361b3fbfefb67084dce666c
* Put resource object into object folder.Dominik Riebeling2013-04-04
| | | | | | | Use correct path for windres output. Fixes windres running even if no changes are present. Change-Id: I2841113bab9b38f2a03ba2f168b3d8bdb5c102df
* Remove unnecessary all target.Dominik Riebeling2013-04-04
| | | | | | | The target all is set in libtools.make. Setting it here breaks make knowing about the correct default target when cross compiling. Change-Id: Icdd022094d28e4dcd442e48bb6acd1fd8f9a6ad6
* Extend Utils::mountpoints() to allow filtering for supported types.Dominik Riebeling2013-04-04
| | | | | | | Instead of trying every mountpoint during autodetection allow filtering out filesystems that are not supported when retrieving the system mountpoints. Change-Id: Ic23a5c804cb7c78c146dbc1af7443c67ce12464e
* Fix identations.Andrew Ryabinin2013-04-04
| | | | Change-Id: I98acabd5c8ab024d553726cfabe5654242a18b3b
* rk27xx: Correct comment about i2c divider calculationMarcin Bukat2013-04-04
| | | | Change-Id: I75605d5bd6f8a3d1f44b63a9f4467ebcdd15267a
* Increase MAXUSERFONTS to 12.Frank Gevaerts2013-04-01
| | | | | | | | | In the modern everything-can-be-skinned world, themes are beginning to hit the limit of 8 fonts (which includes sysfont). Increasing this to 12 will allow some headroom, at the cost of a bit more RAM usage (about 20 bytes per extra possible font, so about 80 bytes total here) Change-Id: Iddf4374b7ccf92b400614a7309bf3d2147ba98ab
* android: Rewrite PCM playback without OnPlaybackPositionUpdateListener.Thomas Martitz2013-04-01
| | | | | | | | | | | | | | | The old way actually mis-used the API (I misunderstood the docs) because it specified the marker position as a "low buffer watermark" but instead of a future playback head position. The replacement is a simple thread that writes the data regardless of the filling level of the buffer (write() will just block) and polls the playback state periodically. Change-Id: If29237cee4ce78dc42f5a8320878bab0cafe78f7 Reviewed-on: http://gerrit.rockbox.org/422 Tested-by: Dominik Riebeling <Dominik.Riebeling@gmail.com> Reviewed-by: Thomas Martitz <kugel@rockbox.org>
* woops, revert test codeJonathan Gordon2013-03-28
| | | | Change-Id: Ida0ef9e4d81520314d3757009d18f7b22accc1e4
* simplelist: Fix simplelist_set_line_count() so it actually sets the countJonathan Gordon2013-03-28
| | | | | | (hopefully) Fixes FS#12838 Change-Id: I932184afaf7b65121a0c459cd03c8482e3bad22b
* rk27xx: Add E & F gpio ports to debug info.Andrew Ryabinin2013-03-25
| | | | Change-Id: Idafd6fe37864625f7052045a32bb374798edfe1a
* hm60x: Add lcd type information to debug info.Andrew Ryabinin2013-03-25
| | | | Change-Id: I09d30f9db6ac40cc92c22c637d560e4a3dcd50de
* Remove redundant assigment of variable to itselfBertrik Sikken2013-03-24
| | | | Change-Id: Ibecd8c869280a55a0716e631f44ab556f7dbd8b5
* Fix LV24020 tuner chip volume level definition (found by cppcheck)Bertrik Sikken2013-03-24
| | | | Change-Id: I328cfbd7c9fc6295db2e62f6174f8f4405e281a8
* Change audio_set_cuesheet parameter from int to bool (fixes cppcheck warning)Bertrik Sikken2013-03-24
| | | | Change-Id: Icb31c8bd8605aca27765a94b609c41f1f706426f
* rknanoutils: fix boot toolAmaury Pouly2013-03-21
| | | | | | | Correctly descramble the first stages (0 to 2) in continuous mode. Also fix a disassembled (but unused) crc routine used in dfu mode. Change-Id: I20016d1c696a9bcb6584377ee9b55493783c7159
* rknanoutils: add dfu toolAmaury Pouly2013-03-21
| | | | | | | | This tool can upload a firmware to the device in DFU mode. The protocol is the same as the rk27xx devices except that it can load a bigger (unlimited ?) firmware. Change-Id: Ic9d4c5087629a9156f9d5d5cdc80767e6359c431
* Encode the password using base64 before storing it to the configuration file.Dominik Riebeling2013-03-19
| | | | | | | | | | | | | | | | There are two reasons for this: - QUrl::toEncoded() has problems with some characters like the colon and @. Those are not percent encoded, causing the string getting parsed wrongly when reading it back (see FS#12166). - The password is cleartext in the configuration file. While using base64 doesn't provide any real security either it's at least better than plaintext. Since this program is open source any fixed mechanism to obfuscate / encrypt the password isn't much help either since anyone interested in the password can look at the sources. The best way would be to eventually use host OS functionality to store the password. Change-Id: I6ac49d68211236e540b6ca16481e0e1c196532b7
* Add option to temporarily show proxy password.Dominik Riebeling2013-03-19
| | | | Change-Id: I9c4394dbe679584a0b0f9b6105714176354adfe6
* autoconf.pl: Add support for build folders with screen resolution (e.g. ↵Thomas Martitz2013-03-16
| | | | | | build-android-320x480). Change-Id: If2ab767f44db604177a0028e86100633631ca8b8
* rknanoutils: fix stupid mistakeAmaury Pouly2013-03-16
| | | | Change-Id: I5267533226d833b20abb3cfd27cc390aef1181e4
* Remove keyword line.Dominik Riebeling2013-03-13
| | | | Change-Id: Ic118b14170bb3eb0237a921f1ffe5c3f50569cc4
* Don't include unwarminder for checkwps, database and warble.Dominik Riebeling2013-03-13
| | | | | | | | | | If the host is ARM simply checking the architecture the compiler produces binaries for will include unwarminder even for the PC tools, breaking them. Fixes building checkwps and database on ARM hosts. Doesn't fix warble, there are additional problems with that. Change-Id: I135b1103a60b9e3720117cde1075b7d73424f384
* jz4740: a few minor fixesMarcin Bukat2013-03-11
| | | | | | | | | | | | | | | | | | | | | | | This was spotted while playing with qemu-jz: 1) rockbox reads TECR and TESR which are described as write-only registers. Datasheet doesn't mention what happens if they are readed. Apparently this doesn't have fatal side effects. It comes down to two defines from jz4740.h __tcu_stop_counter(n) and __tcu_start_counter(n) which use read-modify-write sequence. 2) rockbox accesses out of bound offset 0xd4 in DMA memspace. It comes from dis_irq() in system-jz4740.c. NUM_DMA is 6 but DMA channels are 0-5 so (irq <= IRQ_DMA_0 + NUM_DMA)) bound check is wrong. This are *NOT* tested on device. Change-Id: I29dff6a4f828030877b7d50fbcc98866478b9e3d Reviewed-on: http://gerrit.rockbox.org/338 Reviewed-by: Bertrik Sikken <bertrik@sikken.nl> Tested-by: Purling Nayuki <cyq.yzfl@gmail.com> Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* mkimxboot: fix usageAmaury Pouly2013-03-10
| | | | Change-Id: I049908ac0fe65646906999b7e661a64506bd2594
* Prepare unofficial pandora releaseThomas Jarosch2013-03-10
| | | | | | The code is based on the 'v3.13-final' tag. Change-Id: Id2616ea478f9c9b76bb3307d03d1d043ec81074f
* Prepare new maemo releaseThomas Jarosch2013-03-10
| | | | | | | Ideally this commit should go on top of the v3.13 branch since the release is based on the v3.13 code base. Change-Id: If13cf87463c7a3f7a9c2c96c916c543c9d2ed1a5