search for: withobject

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

Did you mean: with_object
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...peexFrameLength); 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:@selector(sendDataToServer:) withObject:array waitUntilDone:YES]; } [pool drain]; } void SpeexRecorder::Open...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...peexFrameLength); 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:@selector(sendDataToServer:) withObject:array waitUntilDone:YES]; } [pool drain]; } void SpeexRecorder::OpenN...
2010 May 03
1
Help decompressing Speex audio
I have an audio file compressed by JSpeex that I'm trying to decompress on the iPhone. I've been trying to work from the speexdec example in an attempt to port the core logic to ObjC. I have a class that does the decode and passes the result back to another class. (currently the other class is a unit test.) My other class is writing the converted output to disk. I compare the results of my