search for: speexfileformattyp

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

Did you mean: speexfileformattype
2010 May 06
1
Encoding a wave file with a bad header
...bits wavFormat.getChannels(), -1, // frame size -1, // frame rate false); // little endian AudioInputStream spx = AudioSystem.getAudioInputStream(speexFormat, ais); AudioSystem.write(spx, SpeexFileFormatType.SPEEX, getOutputStream()); I then use speex C library to decompress on the receiving end. In one case where audio comes from a certain source (headers are properly formed) the compression/decompression works but in another case where wave audio comes from a different source (different sample rate...
2010 Mar 20
0
Decode file written from JSpeex using C/C++ API?
...wavFormat.getSampleRate(), -1, // sample size in bits wavFormat.getChannels(), -1, // frame size -1, // frame rate false); // little endian ais = AudioSystem.getAudioInputStream(speexFormat, ais); AudioSystem.write(ais, SpeexFileFormatType.SPEEX, new File("speex_output.spx")); I'm assuming this writes to an ogg container? I have a few obvious questions. First, how would I decompress the above output on the iphone? Do I need to fuss with OGG or can I assume the output is raw? I know enough to write/read wave headers us...