Commit graph

15589 commits

Author SHA1 Message Date
Michael Sevakis
1a41c8afee SPC Codec: Run SPC emulation on COP and audio sample processing on CPU on dual-core PortalPlayer targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15673 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 19:03:45 +00:00
Jens Arnold
984a6b0236 Add the tools dir to the path in voice.pl, for easier calling of the various tools. Fixes the problem of building swcodec voice files on cygwin (needs reconfiguring).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15672 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 18:44:45 +00:00
Nils Wallménius
e25a65a198 plugged timeout depends on CONFIG_CHARGING and is not needed for all targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15671 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 18:27:36 +00:00
Michael Sevakis
e8d81f9036 Fix some sim warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15670 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 17:34:33 +00:00
Dave Chapman
ea929b1f8f Revert r15664 and instead define a HOSTAR variable in the main Makefile and pass it to tools/Makefile, the same way CC is handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15669 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 17:17:38 +00:00
Michael Sevakis
99617d71ba Make speex the new voice format for SWCODEC targets (non-Archos). Remove codec swapping and build speex voice decoding directly into the core binary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15668 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 17:12:19 +00:00
Thom Johansen
75432619e8 Introduce use of the new Speex voice file encoder in voice builds. Remove the very unfinished support for other encoders and force use of either rbspeexenc for SWCODEC or LAME for HWCODEC. Update voice.pl to work with the new system, and remove a bug in the same go. Remember to rerun "configure" if you want to build voice files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15667 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 17:10:50 +00:00
Nils Wallménius
bcde33b60b include members for backlight timeout for all targets in settings struct as we assume they are present in some places
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15666 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 17:04:46 +00:00
Nils Wallménius
fedc7dc0c9 #ifdef out some setting struct members when they are not needed, fix some comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15665 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 16:45:58 +00:00
Thom Johansen
7dc92d4d2e Make rbspeexenc Makefile use system "ar" tool.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15664 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 15:48:11 +00:00
Nicolas Pennequin
720cfe3954 Improve clearing of pictures in conditional constructs. This fixes improper clearing of pictures used in several conditionals or in nested conditionals (FS#7856).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15663 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 15:32:45 +00:00
Nils Wallménius
4acae4da03 Use the strrsplt function in one more place
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15662 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 14:12:01 +00:00
Jens Arnold
940fe31f81 Move 4th Gen (grayscale and color) backlight init where it belongs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15661 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 14:01:58 +00:00
Nils Wallménius
eafa27f2e8 Oops forgot a few
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15660 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 13:41:39 +00:00
Nicolas Pennequin
9446226276 Erase lasttrack_id3 when end-of-playlist is reached. Fixes FS#8148.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15659 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 13:41:04 +00:00
Nils Wallménius
5386cc205f Move a few #defines to target specific config files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15658 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 13:33:27 +00:00
Nicolas Pennequin
572ecef486 Smarter conditional handling by storing the previous value. Updates are done only if the value has changed. This avoids unnecessary line or picture clearing, and should help fix some problems WPS creators were having.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15657 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 13:24:39 +00:00
Magnus Holmgren
47167e7022 In the recent bookmarks list, show playlist/directory name, in addition to the file name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15656 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 12:59:08 +00:00
Jens Arnold
6ef2db2c11 Significant LCD speedup for all greyscale iPods and Sansa c200 (c200, 4th Gen, Mini 1st Gen: >3.3x speedup, 1st..3rd Gen: ~2x speedup, Mini 2nd Gen: ~30% speedup).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15655 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 12:49:24 +00:00
Dave Chapman
a8993baeb4 Create a libspeex.a as part of the compilation process - the intention is that this can then be used by other tools (namely rbutilqt) to directly encode rockbox-compatible speex files. Also make the building slightly less verbose.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15654 a1c6a512-1295-4272-9138-f99709370657
2007-11-17 16:54:54 +00:00
Nils Wallménius
e39fc28fdc Code police, declare pointers in .c and expor them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15653 a1c6a512-1295-4272-9138-f99709370657
2007-11-17 14:25:02 +00:00
Stepan Moskovchenko
7f1fbe4af2 MIDI: Increase percision of synthesizer by a factor of 4 - makes certain parts (guitar bends, mostly)
sound more natural. Also, completely rearrange the order of operations in the delta computation. Had to 
use long longs. Probably not a good idea for speed, but the order can be optimized more later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15652 a1c6a512-1295-4272-9138-f99709370657
2007-11-17 06:39:02 +00:00
Jonas Häggqvist
39429616c3 Fix a function parameter mis-match
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15651 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 23:42:18 +00:00
Jonas Häggqvist
d35d2d95ed Some more quoting of program arguments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15650 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 21:33:24 +00:00
Jens Arnold
6512224ead Build a standalone win32 executable of rbspeexenc on cygwin, for reuse in VoiceBox etc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15649 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 21:05:34 +00:00
Dave Chapman
135d1f439a Create a separate voicetoolset declaration - voicefont, wavtrim and (for swcodec) rbspeexenc - and only build them when "make voice" is run. This brings the voice tools into line with the other build-specific tools and only builds them when needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15648 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 21:03:38 +00:00
Jonas Häggqvist
a16ad96b1b Remove deprecated shellscripts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15647 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 20:07:23 +00:00
Jonas Häggqvist
1b2561b0d9 Move some stuff around so things are actually initialized before using them. Last second changes are evil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15646 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 20:02:02 +00:00
Jonas Häggqvist
4295149483 Initial attempt at talkclip generation in voice.pl. Add some quoting to a few functions to avoid problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15645 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 19:59:09 +00:00
Dave Chapman
56822cacdf Remove an unneeded -iquote (which caused problems with pre 4.0.0 versions of gcc) and replace a gcc with $(CC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15644 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 19:53:47 +00:00
Dave Chapman
f91502f86a rbspeexenc and uclpack need to be .PHONY targets so they are rebuilt correctly when the source changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15643 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 16:15:46 +00:00
Thom Johansen
8e38e328af That should be fread, not read.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15642 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 16:06:48 +00:00
Dave Chapman
f609424cb8 Fix the clean: rule and also set svn keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15641 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 15:58:38 +00:00
Thom Johansen
65458ee71c Speex encoder specially tailored to create voice UI snippets. Small fixups to libspeex to allow it to be built.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15640 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 15:35:37 +00:00
Michael Sevakis
88c4748a4b Couple more tiny changes. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15639 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 14:49:17 +00:00
Michael Sevakis
18330a050c Missed a couple changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15638 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 14:34:15 +00:00
Thom Johansen
869a7e7ca6 Trim some stuff and move some defines to a more logical place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15637 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 14:30:51 +00:00
Michael Sevakis
5398125fb3 Use sized data types for audio data in the pcm buffer. Speed up the clipping routine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15636 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 14:26:05 +00:00
Marcoen Hirschberg
bbf72baed6 Add a new font: 9+18x18.bdf which is a combination of 9x18.bdf and 18x18.bdf. It has support for all the languages rockbox supports, including Chinese, Japanese and Korean (although some glyphs might be missing)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15635 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 13:25:43 +00:00
Adam Gashlin
8e5a39c58b High score list needed to be redrawn on return from hold, put it in a seperate function to avoid duplicating code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15634 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 09:29:34 +00:00
Linus Nielsen Feltzing
34d08b235e Fix buffer overflow in the title padding code (FS#8163)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15633 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 08:18:08 +00:00
Christian Gmeiner
7197d9dde7 move {bass,treble,prescale}_table from sound.c to mas35xx.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15632 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 23:32:56 +00:00
Nils Wallménius
65331f1749 Revert some changes that broke looping in midiplayer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15631 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 21:20:29 +00:00
Magnus Holmgren
7aa4ae6e45 Improved use of album name when locating the album art file: replace chars that are invalid in file names; double quotes to single quotes, other invalid chars to underscore (now only very long album names could cause a problem). Also removed some unecessary code and reduced stack usage a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15630 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 20:22:03 +00:00
Nils Wallménius
f801714572 Actually check if a voice file has the correct version before using it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15629 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 19:32:15 +00:00
Karl Kurbjun
d3d0b26421 Work in progress fixes to the remote button handling. Now the remote can be unplugged and then plugged in and it will work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15628 a1c6a512-1295-4272-9138-f99709370657
2007-11-15 06:44:35 +00:00
Brandon Low
d1c6d53962 I'm a retard, this is definitely more correct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15627 a1c6a512-1295-4272-9138-f99709370657
2007-11-14 22:34:32 +00:00
Brandon Low
02467cffa0 Might fix FS#8158, I was unable to reproduce so no guarantee.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15626 a1c6a512-1295-4272-9138-f99709370657
2007-11-14 22:29:26 +00:00
Nicolas Pennequin
83e190bcef Hopefully fix the compile errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15625 a1c6a512-1295-4272-9138-f99709370657
2007-11-14 22:18:51 +00:00
Nicolas Pennequin
31f76116f1 Make the WPS parser stricter with invalid parameter lists. It will now reject them instead of ignoring them (this includes the second parameter to %m|x|, which is invalid and now causes a failure). Also change the debugging code in order to allow more precise error messages, including the faulty token's index and description. Finally, add a few missing token description and fine-tune the #ifdefs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15624 a1c6a512-1295-4272-9138-f99709370657
2007-11-14 22:02:41 +00:00