search for: nsuserdefaults

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

2012 Feb 25
0
Speex-with-header-byte and Google ASR
...count; i += samples_per_frame_) { speex_encode_int(encoder_state_, (spx_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]", [dat...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...count; i += samples_per_frame_) { speex_encode_int(encoder_state_, (spx_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]", [dat...
2005 Jun 17
1
R worked once, now will not open. Works in console, but won't graph. (PR#7953)
...de[1]: 0x9023dc44 Thread 0 Crashed: 0 com.apple.CoreFoundation 0x9023dc44 __HALT + 0 1 com.apple.CoreFoundation 0x901c2164 CFDictionaryGetValue + 0xec 2 com.apple.Foundation 0x90a290d4 +[NSLanguageContext _alternateICUValueForKey:] + 0x48 3 com.apple.Foundation 0x90a2bc8c -[NSUserDefaults objectForKey:] + 0x30 4 com.apple.Foundation 0x90ab49dc -[NSUserDefaults dataForKey:] + 0x20 5 org.R-project.R 0x0001cc2c +[Preferences unarchivedObjectForKey:withDefault:] + 0x48 6 org.R-project.R 0x0000b740 -[RController updatePreferences] + 0xe8 7 org.R-project.R...