Open Ybalrid opened 7 years ago
I could slim down 4 bytes from the voice packets and lock the size of everything.
I'm not sure, but it seems like the length of a compressed audio frame treated by speex can vary,
Yet in practice 160 samples at 8khz is 38 bytes, (instead of 320, so it's down to just 12% of it's size 😮 )
This is currently half working. The encoding and sending works. The recording too. There's a bit of code that works for plaing back buffer in "streaming mode" by suffeling around an array of 4 openal buffers.
Need to get the decoding working and put audio sources in the position of the remote's heads.