Questions tagged [jspeex]

19 questions
0
votes
0 answers

Libspeexjni JNI integration

Those are Java functions in question: targetFunctionPtr1 is public static native long nInitSpxEncoder(); targetFunctionPtr is public static native long nEncodeBuffer(long j12, short[] sArr, byte[] bArr, long j13); Sample pseudo Java code long…
dev
  • 1,119
  • 1
  • 11
  • 34
0
votes
1 answer

Can we play speex file from java?

Is it possible to play a speex file from java. I have encoded a wav file to speex file and i can even decode it back to wave file again and play the audio. But i dont want to decode and play the file throught java. Are there any alternatives to play…
karthick
  • 11,998
  • 6
  • 56
  • 88
0
votes
1 answer

Combining multiple sound streams in Java

I have a number of voice sound streams encoded in PCM (PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian) which I want to send over the network. To save bandwidth I currently encode the streams using JSpeex. However to save even more…
dbotha
  • 1,501
  • 4
  • 20
  • 38
0
votes
0 answers

Ideal Audio Formatting For Lagless Streaming?

We're currently writing VoIP code, and we're having lag issues, and we've noticed that it changes if we modify a few variables. We're new to working with audio, and we're curious as to why we're having this problem. I've posted code below. Audio…
Kristoff
  • 167
  • 3
  • 13
1
2