search for: frames_packet

Displaying 3 results from an estimated 3 matches for "frames_packet".

2006 Aug 06
2
Speex + Ogg package
...h theora there has been no problem, but with speex I can't make it work. The problem is that for a second it works great, but then it begings to gain lag, and in a little time it has 5-10 lag seconds (into the same machine, working on loopback). Currently I'm packaging 4 frames per package (FRAMES_PACKET=4). Any help will be greatly appreciated. Into the encoder I have this code: speex_bits_reset(&enc_bits); for(int i=0;i<FRAMES_PACKET;i++) { int nb_samples; //Here I get the microphone data. while((nb_samples=Check_Mic(Mic_data))==0); speex_encode_int(enc_state, Mic_data,...
2006 Aug 06
0
Speex + Ogg package
...een no problem, but with speex I can't make it > work. The problem is that for a second it works great, but then it > begings to gain lag, and in a little time it has 5-10 lag seconds > (into the same machine, working on loopback). Currently I'm packaging > 4 frames per package (FRAMES_PACKET=4). > Any help will be greatly appreciated. > > > Into the encoder I have this code: > > speex_bits_reset(&enc_bits); > for(int i=0;i<FRAMES_PACKET;i++) > { > int nb_samples; > //Here I get the microphone data. > while((nb_samples=Check_Mic(M...
2006 Aug 06
2
Speex + Ogg package
...with speex I can't make it > > work. The problem is that for a second it works great, but then it > > begings to gain lag, and in a little time it has 5-10 lag seconds > > (into the same machine, working on loopback). Currently I'm packaging > > 4 frames per package (FRAMES_PACKET=4). > > Any help will be greatly appreciated. > > > > > > Into the encoder I have this code: > > > > speex_bits_reset(&enc_bits); > > for(int i=0;i<FRAMES_PACKET;i++) > > { > > int nb_samples; > > //Here I get the microphone...