search for: tempbuff

Displaying 4 results from an estimated 4 matches for "tempbuff".

Did you mean: tempbuf
2004 Aug 06
0
Lost ogg sync using jspeex
..."IOException ....."+e.getMessage()); } } } class SpeexPlayer extends Thread { PipedOutputStream pout; PipedInputStream pin; AudioFormat audioFormat; int bufferlength; DataLine.Info outputDataLineInfo; SourceDataLine sourceDataLine; Speex2PcmAudioInputStream speex2pcm; byte[] tempBuffer; int framelength; int count; double ratio; public SpeexPlayer(PipedOutputStream pout) { try { this.pout = pout; pin = new PipedInputStream(pout); count = 0; framelength = 1280; bufferlength = 1280; tempBuffer = new byte[bufferlength]; //ratio = bufferlength / fr...
2004 Aug 06
0
Lost ogg sync using jspeex
..."IOException ....."+e.getMessage()); } } } class SpeexPlayer extends Thread { PipedOutputStream pout; PipedInputStream pin; AudioFormat audioFormat; int bufferlength; DataLine.Info outputDataLineInfo; SourceDataLine sourceDataLine; Speex2PcmAudioInputStream speex2pcm; byte[] tempBuffer; int framelength; int count; double ratio; public SpeexPlayer(PipedOutputStream pout) { try { this.pout = pout; pin = new PipedInputStream(pout); count = 0; framelength = 1280; bufferlength = 1280; tempBuffer = new byte[bufferlength]; //ratio = bufferlength / fr...
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
...sizeof(flag)); // Allocate our own buffers (1 channel, 16 bits per sample, thus 16 bits per frame, thus 2 bytes per frame). // Practice learns the buffers used contain 512 frames, if this changes it will be fixed in processAudio. tempBuffer.mNumberChannels = 1; tempBuffer.mDataByteSize = FRAME_SIZE * 2; tempBuffer.mData = malloc( FRAME_SIZE * 2 ); XThrowIfError(AudioSessionSetActive(true), "couldn't set audio session active\n"); // Initialise...
2004 Aug 06
0
Please Help, Lost ogg sync using jspeex
...layer extends Thread{<BR> PipedOutputStream pout;<BR> PipedInputStream pin;<BR> AudioFormat audioFormat;<BR> int bufferlength;<BR> DataLine.Info outputDataLineInfo;<BR> SourceDataLine sourceDataLine;<BR> Speex2PcmAudioInputStream speex2pcm;<BR> byte[] tempBuffer;<BR> int framelength;<BR> int count;<BR> double ratio;<BR> <BR> public SpeexPlayer(PipedOutputStream pout)<BR> {<BR> try<BR> {<BR> this.pout = pout;<BR> pin = new PipedInputStream(pout);<BR> <BR> count = 0;<BR>...