search for: cfswapint16hosttolittle

Displaying 2 results from an estimated 2 matches for "cfswapint16hosttolittle".

2007 Apr 24
0
Re: just noise
...s are so important that they need to be discussed in the manual more. You should probably mention: #include <arpa/inet.h> // from transmitting on network ntohs() htons() from sockets, and: #include <CoreFoundation/CFByteOrder.h> // for import/export wav CFSwapInt16LittleToHost() CFSwapInt16HostToLittle() // from transmitting on network CFSwapInt16LittleToHost() CFSwapInt16HostToLittle() on Mac, right there on the example page. Also, please discuss the format of the compressed bits from squeex, because it's not clear to me if they are already big endian for sending over the network. Th...
2007 Apr 24
2
just noise
Hi, I tried both the stable and beta versions of the speex source code download on Mac OS 10.4.9. I just do: ./configure make sudo make install Then I added libspeex.a from /usr/local/lib and the headers to my xcode project. My app compiles and I'm able to call all of the speex functions. I copied the example code from the website and tweaked it to include the first 10000 bytes of