summaryrefslogtreecommitdiff
path: root/tools/rbspeex (follow)
Commit message (Collapse)AuthorAge
* Fix rebuilding librbspeex on OS X and make rm work on Windows.Dominik Riebeling2015-06-20
| | | | | | | | | OS X ar operates on fat libaries and cannot update existing archives. Remove it first to avoid this. Use a make function when removing files to allow calling the correct command on Windows, which doesn't know about rm. Change-Id: Ia0c13ef7907239a1e6f4abc26bb08238a226c476
* OS X: detect clang and build for x86 target only.Dominik Riebeling2014-03-20
| | | | | | | | Newer versions of Xcode / OS X don't support PPC code anymore and replace gcc with clang. When clang is detected assume we want to build for the default architecture only and change the minimum OS X version to 10.5. Change-Id: I5843fa9bb3d957ec6f0a537e857608ad99c31517
* 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
* Rework rbspeex dependency generation to use single dependency files.Dominik Riebeling2013-05-11
| | | | | | | | | | | | Similar as done in d2b8f91 change dependency generation to use one file per source file. This removes the need to have external tools installed on Windows. Previously Cygwin or msys tools needed to be in the system PATH which was problematic at times. This means that now building on Windows (using MinGW) doesn't require additional tools anymore. Change-Id: I4c0675e99c3cc3a729b91beefd58320db498ae0a
* Change mkdir -p to work on Windows.Dominik Riebeling2013-05-11
| | | | | | | | Windows mkdir doesn't know about the -p option and requires paths to use \ as path separator. Try to detect when building on Windows and use the Windows internal function instead of relying on a compatible mkdir in the path. Change-Id: I47d47d45edeb38c672321f77d6e91268bf744dba
* Remove leftover debugging warning.Dominik Riebeling2013-05-06
| | | | Change-Id: Icb7d2de4284c1db5766f0039e5546b8956ef5afa
* Replace use of uname by checking the compiler output.Dominik Riebeling2013-05-04
| | | | | | | | | | Similar as done in ea0bfe7 ask the compiler for the binary it creates instead of using uname to figure the target. Simplify source file preprocessing to avoid using grep to improve compatibility with Windows. Change-Id: I39ecfe690c9bb70b07b0af5a7804d7e5ab512d71
* 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>
* rbspeex: make local functions static.Dominik Riebeling2012-01-12
|
* librbspeex.a: simplify Makefile for OS X.Dominik Riebeling2012-01-05
| | | | | | | | | | | | | - As done with the libucl Makefile replace the universal library handling and use ar to create a library from fat objects instead. - Replace OUT with BUILD_DIR to be in line with the other Makefiles. As a result librbspeex will now be build in a subfolder better named than "build" when building with Rockbox Utility. - Make the Makefile depend on the depencency file. This should fix problems with a broken dependency file not being regenerated properly, causing the build to fail. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31587 a1c6a512-1295-4272-9138-f99709370657
* Allow passing additional CFLAGS.Dominik Riebeling2012-01-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
* rbspeex: fix cross compiling rbspeex.dll.Dominik Riebeling2011-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31341 a1c6a512-1295-4272-9138-f99709370657
* rbspeex, libucl: add rule to build DLL.Dominik Riebeling2011-12-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31332 a1c6a512-1295-4272-9138-f99709370657
* Don't show the full path when building librbspeex.aDominik Riebeling2011-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31118 a1c6a512-1295-4272-9138-f99709370657
* Tweak Makefiles a bit to allow cross compiling Rockbox Utility.Dominik Riebeling2010-12-23
| | | | | | | | - pass AR to the lib Makefiles to make sure the correct one gets used. - create an archive index for archives. - simplify ucl Makefile a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28883 a1c6a512-1295-4272-9138-f99709370657
* Don't search for libspeex on Windows and Mac.Dominik Riebeling2010-09-05
| | | | | | | | | | Make sure to not try to dynamically link libspeex on Mac, since it's not a standard library, and application bundles aren't statically linked anyway. Remove looking up libspeex on Windows since it's not a standard library there either. Don't search for libspeex multiple times but instead pass it to the librbspeex Makefile. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27999 a1c6a512-1295-4272-9138-f99709370657
* Fix rbspeex on big endian hosts.Dominik Riebeling2010-03-14
| | | | | | | | Big endian hosts need to byteswap the wave data when reading or writing to disk. Should fix speex based voice- and talkfiles only containing garbage on PPC machines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25177 a1c6a512-1295-4272-9138-f99709370657
* Make lipo calls silent.Dominik Riebeling2009-12-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23982 a1c6a512-1295-4272-9138-f99709370657
* Improve detection of system libspeex and fallback earlier.Dominik Riebeling2009-12-06
| | | | | | | | | | libspeex is split into libspeex and libspeexdsp. We need both, so check for them the same time instead of trying to respect the fact that old versions didn't have the libspeexdsp part. Should fix issues with distributions that have libspeex and libspeexdsp split into separate packages and only the libspeex one is installed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23872 a1c6a512-1295-4272-9138-f99709370657
* Fix building universal binaries.Dominik Riebeling2009-11-28
| | | | | | When building various libraries for Rockbox Utility make sure they use the same compiler as Qt. Pass Qt's CC instead of explicitly setting it. This fixes issues linking on OS X (with recent XCode building universal binaries requires the use of gcc-4-0 while the default one is 4.2). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23779 a1c6a512-1295-4272-9138-f99709370657
* Fix building Rockbox Utility when using newer versions of libspeex.Dominik Riebeling2009-10-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23164 a1c6a512-1295-4272-9138-f99709370657
* If available, use the systems libspeex when linking rbspeex(enc|dec) and ↵Dominik Riebeling2009-10-08
| | | | | | rbutil dynamically. This is similar to FS#9233 but utilizes pkg-config. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23016 a1c6a512-1295-4272-9138-f99709370657
* rbutil: modify buildsystem so you can build outside of the rbutilqt ↵Dominik Wenger2009-09-04
| | | | | | directoy. (similar to the normal buildsystem). Attention: Spaces in the path will cause errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22624 a1c6a512-1295-4272-9138-f99709370657
* Create the output directory in the dependency rule instead of depending on ↵Dominik Riebeling2009-06-27
| | | | | | it to prevent recreating it every time. Thanks to amiconn for clarifying the issue. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21534 a1c6a512-1295-4272-9138-f99709370657
* Make sure the build folder is created before trying to generate the ↵Dominik Riebeling2009-06-27
| | | | | | dependencies file. Fixes issues building Rockbox Utility and voice file creation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21527 a1c6a512-1295-4272-9138-f99709370657
* Don't rebuild rbspeex(enc|dec) everytime when making voice files.Jens Arnold2009-06-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21265 a1c6a512-1295-4272-9138-f99709370657
* rename ARCH define because of conflict with some systems. see (FS#9321)Dominik Wenger2008-09-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18379 a1c6a512-1295-4272-9138-f99709370657
* Extend rbspeex Makefile to allow easier building a universal binary needed ↵Dominik Riebeling2008-07-20
| | | | | | for rbutil. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18103 a1c6a512-1295-4272-9138-f99709370657
* rbspeex: hopefully fixes compiling of rbspeexenc/dec on mac.Dominik Wenger2008-07-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18096 a1c6a512-1295-4272-9138-f99709370657
* rbutil/rbspeex fix some small mistakes.Dominik Wenger2008-07-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18004 a1c6a512-1295-4272-9138-f99709370657
* modify Makefile so its possible to build a universal lib. Building is still ↵Dominik Wenger2008-07-09
| | | | | | complicated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18002 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Move C linkage binding for c++ to exporting header files instead of includes.Dominik Riebeling2008-05-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
* when building on MinGW, make sure to set CC to gcc. Make ar call silent.Dominik Riebeling2007-12-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15935 a1c6a512-1295-4272-9138-f99709370657
* refactor rbspeex, so we build a librbspeex.a for linking into rbutil.Dominik Wenger2007-12-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15924 a1c6a512-1295-4272-9138-f99709370657
* Refactor rbspeexenc code to include an encode_file() function, for later ↵Thom Johansen2007-12-05
| | | | | | reuse by other programs. Add some more error handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15879 a1c6a512-1295-4272-9138-f99709370657
* Add rbspeexdec, decoder for the Rockbox voice clips. Also nitpick a bit on ↵Thom Johansen2007-11-28
| | | | | | rbspeexenc while I'm at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15842 a1c6a512-1295-4272-9138-f99709370657
* Volume for rbspeexenc.Stéphane Doyon2007-11-27
| | | | | | | | | espeak's output is rather loud, and I used to rely on lame's --scale option. So here's a simple volume knob (amplitude multiplier) for rbspeexenc. I use a factor 0.6. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15832 a1c6a512-1295-4272-9138-f99709370657
* Compensate for encoder lookahead to make more click-free voice clips. Add ↵Thom Johansen2007-11-21
| | | | | | narrowband option. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15741 a1c6a512-1295-4272-9138-f99709370657
* Revert r15664 and instead define a HOSTAR variable in the main Makefile and ↵Dave Chapman2007-11-18
| | | | | | 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
* Make rbspeexenc Makefile use system "ar" tool.Thom Johansen2007-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15664 a1c6a512-1295-4272-9138-f99709370657
* Create a libspeex.a as part of the compilation process - the intention is ↵Dave Chapman2007-11-17
| | | | | | 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
* Build a standalone win32 executable of rbspeexenc on cygwin, for reuse in ↵Jens Arnold2007-11-16
| | | | | | VoiceBox etc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15649 a1c6a512-1295-4272-9138-f99709370657
* Remove an unneeded -iquote (which caused problems with pre 4.0.0 versions of ↵Dave Chapman2007-11-16
| | | | | | gcc) and replace a gcc with $(CC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15644 a1c6a512-1295-4272-9138-f99709370657
* That should be fread, not read.Thom Johansen2007-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15642 a1c6a512-1295-4272-9138-f99709370657
* Fix the clean: rule and also set svn keywordsDave Chapman2007-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15641 a1c6a512-1295-4272-9138-f99709370657
* Speex encoder specially tailored to create voice UI snippets. Small fixups ↵Thom Johansen2007-11-16
to libspeex to allow it to be built. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15640 a1c6a512-1295-4272-9138-f99709370657