search for: lost_fram

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

Did you mean: last_frame
2011 Nov 17
1
Just getting noise
...? ? ? ? ? ? ? ? ? ? ? ? ? ?length += BYTES_PER_FRAME; > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?samples -= SAMPLES_PER_FRAME; > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?--frames; > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?jitter_buffer_tick( jitter ); > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?lost_frames = 0; > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?} > > You can ignore the lost_frames. That just gets incremented if there isn't > data in the jitter buffer and once enough frames have been lost, it starts > buffering data (and so playing silence). > > On Nov 16, 2011, at 15:25 , Ch...
2011 Nov 16
2
Just getting noise
Alright noted, I changed me code so that the state is created in the constructor and destroyed in the destructor of the object. However I'm still getting the same issue although I'm sure that would have bit me sooner or later. The new code is as follows. virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize, size_t& outputSize) { short *in=(short*)inputBuffer;
2011 Nov 16
0
Just getting noise
...length += BYTES_PER_FRAME; samples -= SAMPLES_PER_FRAME; --frames; jitter_buffer_tick( jitter ); lost_frames = 0; } You can ignore the lost_frames. That just gets incremented if there isn't data in the jitter buffer and once enough frames have been lost, it starts buffering data (and so playing silence). On Nov 16, 2011, at 15:25 , Christopher Schaefer wrote:...