search for: datatosend

Displaying 2 results from an estimated 2 matches for "datatosend".

Did you mean: data_to_send
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...px_int16_t*)buf, &bits_); int frame_length = speex_bits_write(&bits_, encoded_frame_data_ + 1, kMaxSpeexFrameLength); encoded_frame_data_[0] = static_cast<char>(frame_length); speex_bits_reset(&bits_); NSUserDefaults *defs = [NSUserDefaults standardUserDefaults]; NSData *dataToSend = [NSData dataWithBytes:encoded_frame_data_ length:frame_length]; NSArray *array = [NSArray arrayWithObjects:dataToSend, [defs objectForKey:@"inLang"], nil]; NSLog(@"WriteToFile -> dataToSend: [%d]", [dataToSend length]); [mAudioStreamer performSelectorOnMainThread:@sel...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...px_int16_t*)buf, &bits_); int frame_length = speex_bits_write(&bits_, encoded_frame_data_ + 1, kMaxSpeexFrameLength); encoded_frame_data_[0] = static_cast<char>(frame_length); speex_bits_reset(&bits_); NSUserDefaults *defs = [NSUserDefaults standardUserDefaults]; NSData *dataToSend = [NSData dataWithBytes:encoded_frame_data_ length:frame_length]; NSArray *array = [NSArray arrayWithObjects:dataToSend, [defs objectForKey:@"inLang"], nil]; NSLog(@"WriteToFile -> dataToSend: [%d]", [dataToSend length]); [mAudioStreamer performSelectorOnMainThread:@sel...