Lines Matching +full:apple +full:- +full:cross +full:- +full:compile
1 ---
4 ---
11 4. [When trying to compile libsndfile on Solaris I get a "bad substitution" error during linking. W…
12 5. [Why doesn't libsndfile do interleaving/de-interleaving?](#Q005)
18 11. [I'm having problems with u-law encoded WAV files generated by libsndfile in Winamp. Why?](#Q01…
30 23. [I'm cross compiling libsndfile for another platform. How can I run the test suite?](#Q023)
32 -----
52 - pcmbitwidth makes little sense on compressed or floating point formats
53 - with the new API you really don't need to know it
55 As documented [here](api.md#note-1) there is now a well defined behaviour which
62 When you configure and compile libsndfile, it uses the /bin/sh shell for a
72 When I did this on my iBook running MacOS X, compile times dropped from 13
75 ## Q4 : When trying to compile libsndfile on Solaris I get a "bad substitution" error on linking. W…
83 ## Q5 : Why doesn't libsndfile do interleaving/de-interleaving? {#Q005}
88 de-interleaving could satisfy most users. However, for files with more than 2
95 combinations. On top of that, coding any one style of interleaver/de-interleaver
103 - A simple, easy to parse header.
104 - The format must provide the fastest possible read and write rates (ie avoid
106 - The file format must be reasonably common and playable by most players.
107 - Able to store data in either endian-ness.
120 libsndfile uses the pkg-config (man pkg-config) method of registering itself
142 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
166 The **pkg-config** program makes finding the correct compiler flag values and
172 In order for pkg-config to find sndfile.pc it may be necessary to point the
177 Then, to compile a C file into an object file, the command would be:
179 gcc `pkg-config --cflags sndfile` -c somefile.c
184 gcc `pkg-config --libs sndfile` obj1.o obj2.o -o program
211 [-32768, 32767] while we want floating point values in the range [-1.0, 1.0].
214 values in the range [-1.0, 1.0] are within the valid range allowed by a 16 bit
217 Some people would say that this is a severe short-coming of libsndfile. I would
226 using un-normalized floats (see
237 ## Q11 : I'm having problems with u-law encoded WAV files generated by libsndfile in Winamp. Why? {…
247 > Player 2.0 and GoldWave 5.06 can all play u-law files with 16-byte or 18-byte
248 > 'fmt ' chunk. Only Winamp (2.91) and foobar2000 are unable to play u-law files
249 > with 16-byte 'fmt ' chunk.
287 SD2 files are native to the Apple Macintosh platform and use features of the Mac
292 -rw-r--r-- 1 erikd erikd 46512 Oct 18 22:57 file.sd2
293 -rw-r--r-- 1 erikd erikd 538 Oct 18 22:57 file.sd2/rsrc
311 -rw-r--r-- 1 erikd erikd 538 Oct 18 22:57 ._file.sd2
312 -rw-r--r-- 1 erikd erikd 46512 Oct 18 22:57 file.sd2
351 - Make sure you are compiling your code with warnings switched on and that you
353 recommend at least **-W -Wall -Werror** which will force you to fix all
355 - Try using a memory debugger. [Valgrind](http://valgrind.kde.org/) on x86 Linux
358 - If the code is clean after the above two steps and you still get a crash in
359 libsndfile, then send me a small snippet of code (no more than 30-40 lines)
401 binary using one of the programs in the Apple tool chain.
404 compile/build run on a single CPU.
410 to compile libsndfile, and the test suite will pass on the machine you compiled
414 Part of the problem is that the CPU endian-ness is detected at configure time.
415 Yes, I know the Apple compiler defines one of the macros \_\_LITTLE\_ENDIAN\_\_
419 Endian issues are not the only reason why the cross compiled binary will fail.
425 you compile a universal binary and run the test suite, you only test the native
426 compile. The cross compiled binary (the one with the much higher chance of
454 - Make sure you are linking to libsndfile as a shared library (Linux and Unix
459 - In the licensing documentation for your program, add a statement that your
462 [version 2.1](http://www.gnu.org/licenses/lgpl-2.1.txt) or optionally
464 - Include the text for both versions of the license, possibly as separate files
473 ## Q23 : I'm cross compiling libsndfile for another platform. How can I run the test suite? {#Q023}
476 'test-tarball'. Building this target creates a tarball called called:
478 ` libsndfile-testsuite-${host_triplet}-${version}.tar.gz`