Frank Gevaerts
bf34cdfacb
Add a 100ms delay before calling disk_mount_all(). Some players (especially some gigabeat Fs) seem to need a delay after disabling USB if we want disk access to work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30316 a1c6a512-1295-4272-9138-f99709370657
2011-08-15 14:36:23 +00:00
Dominik Riebeling
e79fca992c
Remove use of which.py module.
...
Implement simple which functionality. This has less features than which.py but
is sufficient, and removing an external dependency is always good.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30315 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 18:57:49 +00:00
Thomas Martitz
2c07d238db
Fix tempbuf assignment in tagcache and bump plugin API/ABI for r30308.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30314 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 18:08:40 +00:00
Andree Buschmann
d559492603
Remove further float operations from emu2413 in libgme to speed up synthesis.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30313 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 18:04:40 +00:00
Thomas Martitz
89c8cbebf2
Add change that got lost somehow in r30308.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30312 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 15:51:08 +00:00
Thomas Martitz
b8fabfef84
Fix remaining problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30311 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 15:43:43 +00:00
Thomas Martitz
8a701e5488
Fix errors and warnings.
...
The buffer_offset paramter of audio_init_recording() is removed as it
was unused in both implementations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30310 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 15:37:05 +00:00
Thomas Martitz
7695b0403f
Fix typo in and clarify comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30309 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 15:21:26 +00:00
Thomas Martitz
d1322b7159
GSoC/Buflib: Replace all direct accesses to audiobuf with buffer API functions.
...
Namely, introduce buffer_get_buffer() and buffer_release_buffer().
buffer_get_buffer() aquires all available and grabs a lock, attempting to
call buffer_alloc() or buffer_get_buffer() while this lock is locked will cause
a panicf() (doesn't actually happen, but is for debugging purpose).
buffer_release_buffer() unlocks that lock and can additionally increment the
audiobuf buffer to make an allocation. Pass 0 to only unlock if buffer was
used temporarily only.
buffer_available() is a replacement function to query audiobuflen, i.e. what's
left in the buffer.
Buffer init is moved up in the init chain and handles ipodvideo64mb internally.
Further changes happened to mp3data.c and talk.c as to not call the above API
functions, but get the buffer from callers. The caller is the audio system
which has the buffer lock while mp3data.c and talk mess with the buffer.
mpeg.c now implements some buffer related functions of playback.h, especially
audio_get_buffer(), allowing to reduce #ifdef hell a tiny bit.
audiobuf and audiobufend are local to buffer.c now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30308 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 15:13:00 +00:00
Frank Gevaerts
9b9bd73dfb
Fix last charcell warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30307 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 14:13:16 +00:00
Jonathan Gordon
c3fe7b0f88
need... sleep... try again to fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30306 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 14:12:21 +00:00
Jonathan Gordon
810e9c4dcb
fix charcell again.... wouldnt it be nice to remove charcell support all together? :)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30305 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 14:04:46 +00:00
Thomas Martitz
c0a4c66f9d
Android: Minor changes in ldebugf.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30304 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:58:39 +00:00
Jonathan Gordon
4ed1340a7c
Fix player errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30303 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:56:10 +00:00
Jonathan Gordon
281f1a1ed6
New skin tags: %Vs() to set the text style and %Vg() to get the viewports gradient colours
...
%Vs(mode[, param]) : mode can be "invert", "color" (where param is the colour to use", "clear" to disable the current style, "gradient" where param is the number of lines the gradient should draw over.
%Vg(start colour, end colour, [text colour]), if this tag isnt used the list selection colours from the settings will set the gradient colours
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30302 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:50:07 +00:00
Bertrik Sikken
b2d0ea204c
Remove a couple of duplicate #includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30301 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:42:32 +00:00
Thomas Martitz
dbdbc242ac
Remove hosted_get_volume(), as event data is available in button_get_data().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30300 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:38:10 +00:00
Thomas Martitz
2d0e63e136
Android: Undo r30293 partly as it prevents installation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30299 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:23:46 +00:00
Jonathan Gordon
a7d8dd41b5
Fix mistaken changes in r30219
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30298 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:14:58 +00:00
Thomas Martitz
baa9c48a66
Extension entries need an extra nul byte.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30297 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 11:23:01 +00:00
Thomas Martitz
e20ff44e9d
Redo 30225 differently to not break the audio formats order for skins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30296 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 11:18:03 +00:00
Alex Parker
8355ace582
Manual: try to make it clearer that it is NOT recommended to put music in /.rockbox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30294 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 10:25:03 +00:00
Thomas Martitz
c6ca81329a
Android: Fix a few java warnings. Upgrade ndk platform to 2.0 (don't support 1.6 anymore).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30293 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 08:55:16 +00:00
Michael Hohmuth
5c6fe5da9c
Properly export sleep_timer_call from main_menu.c in exported_menus.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30292 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 22:55:04 +00:00
Rafaël Carré
3fda72aa86
configure: don't use sed for autoconf.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30291 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:39:58 +00:00
Rafaël Carré
bd89a4123f
typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30290 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:32:34 +00:00
Rafaël Carré
f56bb4e505
configure: avoid double escaping of $ (single quote + backslash)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30289 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:29:15 +00:00
Rafaël Carré
e1d33c07c6
configure: remove redundant ENC_CMD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30288 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:07:01 +00:00
Rafaël Carré
2a2d22866c
typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30287 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:03:30 +00:00
Rafaël Carré
cea0654d18
configure: don't use sed to generate the Makefile
...
remove a few obsolete options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30286 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:03:23 +00:00
Rafaël Carré
adb1b52404
remove obsolete comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30285 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:03:11 +00:00
Andree Buschmann
a1145a1d04
Remove all IRAM attributes from libGME to be able to restart the IRAM optimization on a clean code base. As first step move the sample buffers to IRAM which results in a 1-5% speedup for all codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30284 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 16:41:14 +00:00
Andree Buschmann
724a2d2514
6th part of FS#12176. Reduce memory consumption of libgme emulators to allow enabling of NSF and SGC codecs for low memory targets. The main lookup table only requires byte precision and can be used by 2413 and 8950 emulators. Update the manual accordingly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30283 a1c6a512-1295-4272-9138-f99709370657
2011-08-12 21:36:29 +00:00
Andree Buschmann
5f6d8bfcc0
Remove unused sources from libgme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30282 a1c6a512-1295-4272-9138-f99709370657
2011-08-12 05:57:27 +00:00
Andree Buschmann
1b9f9fb465
5th part of FS#12176. Further fixed point migration. Only two emulators (ym2413, ym2612) still use floating point.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30281 a1c6a512-1295-4272-9138-f99709370657
2011-08-11 21:06:16 +00:00
Bertrik Sikken
b127949860
libgme: make local functions static where possible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30280 a1c6a512-1295-4272-9138-f99709370657
2011-08-11 19:04:28 +00:00
Andree Buschmann
39e4987ea5
Reduce gain of VGM codec to avoid clipping.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30279 a1c6a512-1295-4272-9138-f99709370657
2011-08-11 06:22:56 +00:00
Andree Buschmann
631d22b8e5
4th part of FS#12176. Volume settings migrated to fixed point for libgme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30278 a1c6a512-1295-4272-9138-f99709370657
2011-08-11 06:18:39 +00:00
Andree Buschmann
4ca2367e34
3rd part of FS#12176. Gain setting migrated to fixed point for libgme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30277 a1c6a512-1295-4272-9138-f99709370657
2011-08-10 17:58:36 +00:00
Dominik Riebeling
35c1df9cd5
Update spellcheck script.
...
- Fix wrong argument list for screenshot macro
- Add some more macros to the ignore list.
- Ignore tex files in platforms/
- Add a user wordlist with common Rockbox terms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30276 a1c6a512-1295-4272-9138-f99709370657
2011-08-09 23:14:41 +00:00
Dominik Riebeling
55f4bf9dfd
Rockbox Utility: use libusb-1.0 by default.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30275 a1c6a512-1295-4272-9138-f99709370657
2011-08-09 22:00:10 +00:00
Andree Buschmann
012df14a5f
2nd part of FS#12176. Tempo setting migrated to fixed point for libgme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30274 a1c6a512-1295-4272-9138-f99709370657
2011-08-09 20:21:55 +00:00
Alex Parker
964a5e6dfb
Manual: A few more spelling corrections.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30273 a1c6a512-1295-4272-9138-f99709370657
2011-08-09 14:39:32 +00:00
Alex Parker
39cc63e099
Manual: correct spelling of catalogue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30272 a1c6a512-1295-4272-9138-f99709370657
2011-08-09 13:53:39 +00:00
Alex Parker
6013614cdd
Manual: update %cs tag and make list more explicit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30271 a1c6a512-1295-4272-9138-f99709370657
2011-08-09 13:53:26 +00:00
Marcin Bukat
3b0783068b
Fix typos in comments. Thanks ukleinek for pointing out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30270 a1c6a512-1295-4272-9138-f99709370657
2011-08-08 20:21:29 +00:00
Marcin Bukat
1d2fae4466
rk27xx sd driver fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30269 a1c6a512-1295-4272-9138-f99709370657
2011-08-08 20:09:27 +00:00
Andree Buschmann
c23f576a1c
Remove a floating point calculation from ay codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30268 a1c6a512-1295-4272-9138-f99709370657
2011-08-08 18:06:03 +00:00
Andree Buschmann
d14c96dc9a
Remove 'set but not used' warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30267 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 21:19:27 +00:00
Andree Buschmann
2bd2490531
The manual should reflect that some synthesizer codecs are switched off for low memory targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30266 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 21:12:21 +00:00