summaryrefslogtreecommitdiff
path: root/tools/rbspeex
AgeCommit message (Collapse)Author
2013-06-09Don't pass ar output to /dev/null.Dominik Riebeling
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
2013-05-11Rework rbspeex dependency generation to use single dependency files.Dominik Riebeling
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
2013-05-11Change mkdir -p to work on Windows.Dominik Riebeling
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
2013-05-06Remove leftover debugging warning.Dominik Riebeling
Change-Id: Icb7d2de4284c1db5766f0039e5546b8956ef5afa
2013-05-04Replace use of uname by checking the compiler output.Dominik Riebeling
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
2012-04-25Add codecs to librbcodec.Sean Bartell
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>
2012-01-12rbspeex: make local functions static.Dominik Riebeling
2012-01-05librbspeex.a: simplify Makefile for OS X.Dominik Riebeling
- 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
2012-01-02Allow passing additional CFLAGS.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
2011-12-17rbspeex: fix cross compiling rbspeex.dll.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31341 a1c6a512-1295-4272-9138-f99709370657
2011-12-16rbspeex, libucl: add rule to build DLL.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31332 a1c6a512-1295-4272-9138-f99709370657
2011-12-03Don't show the full path when building librbspeex.aDominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31118 a1c6a512-1295-4272-9138-f99709370657
2010-12-23Tweak Makefiles a bit to allow cross compiling Rockbox Utility.Dominik Riebeling
- 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
2010-09-05Don't search for libspeex on Windows and Mac.Dominik Riebeling
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
2010-03-14Fix rbspeex on big endian hosts.Dominik Riebeling
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
2009-12-13Make lipo calls silent.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23982 a1c6a512-1295-4272-9138-f99709370657
2009-12-06Improve detection of system libspeex and fallback earlier.Dominik Riebeling
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
2009-11-28Fix building universal binaries.Dominik Riebeling
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
2009-10-13Fix building Rockbox Utility when using newer versions of libspeex.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23164 a1c6a512-1295-4272-9138-f99709370657
2009-10-08If available, use the systems libspeex when linking rbspeex(enc|dec) and ↵Dominik Riebeling
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
2009-09-04rbutil: modify buildsystem so you can build outside of the rbutilqt ↵Dominik Wenger
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
2009-06-27Create the output directory in the dependency rule instead of depending on ↵Dominik Riebeling
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
2009-06-27Make sure the build folder is created before trying to generate the ↵Dominik Riebeling
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
2009-06-12Don't rebuild rbspeex(enc|dec) everytime when making voice files.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21265 a1c6a512-1295-4272-9138-f99709370657
2008-09-01rename ARCH define because of conflict with some systems. see (FS#9321)Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18379 a1c6a512-1295-4272-9138-f99709370657
2008-07-20Extend rbspeex Makefile to allow easier building a universal binary needed ↵Dominik Riebeling
for rbutil. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18103 a1c6a512-1295-4272-9138-f99709370657
2008-07-19rbspeex: hopefully fixes compiling of rbspeexenc/dec on mac.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18096 a1c6a512-1295-4272-9138-f99709370657
2008-07-09rbutil/rbspeex fix some small mistakes.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18004 a1c6a512-1295-4272-9138-f99709370657
2008-07-09modify Makefile so its possible to build a universal lib. Building is still ↵Dominik Wenger
complicated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18002 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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
2008-05-22Move C linkage binding for c++ to exporting header files instead of includes.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
2007-12-15when building on MinGW, make sure to set CC to gcc. Make ar call silent.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15935 a1c6a512-1295-4272-9138-f99709370657
2007-12-14refactor rbspeex, so we build a librbspeex.a for linking into rbutil.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15924 a1c6a512-1295-4272-9138-f99709370657
2007-12-05Refactor rbspeexenc code to include an encode_file() function, for later ↵Thom Johansen
reuse by other programs. Add some more error handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15879 a1c6a512-1295-4272-9138-f99709370657
2007-11-28Add rbspeexdec, decoder for the Rockbox voice clips. Also nitpick a bit on ↵Thom Johansen
rbspeexenc while I'm at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15842 a1c6a512-1295-4272-9138-f99709370657
2007-11-27Volume for rbspeexenc.Stéphane Doyon
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
2007-11-21Compensate for encoder lookahead to make more click-free voice clips. Add ↵Thom Johansen
narrowband option. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15741 a1c6a512-1295-4272-9138-f99709370657
2007-11-18Revert r15664 and instead define a HOSTAR variable in the main Makefile and ↵Dave Chapman
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-18Make rbspeexenc Makefile use system "ar" tool.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15664 a1c6a512-1295-4272-9138-f99709370657
2007-11-17Create a libspeex.a as part of the compilation process - the intention is ↵Dave Chapman
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-16Build a standalone win32 executable of rbspeexenc on cygwin, for reuse in ↵Jens Arnold
VoiceBox etc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15649 a1c6a512-1295-4272-9138-f99709370657
2007-11-16Remove an unneeded -iquote (which caused problems with pre 4.0.0 versions of ↵Dave Chapman
gcc) and replace a gcc with $(CC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15644 a1c6a512-1295-4272-9138-f99709370657
2007-11-16That should be fread, not read.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15642 a1c6a512-1295-4272-9138-f99709370657
2007-11-16Fix the clean: rule and also set svn keywordsDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15641 a1c6a512-1295-4272-9138-f99709370657
2007-11-16Speex encoder specially tailored to create voice UI snippets. Small fixups ↵Thom Johansen
to libspeex to allow it to be built. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15640 a1c6a512-1295-4272-9138-f99709370657