How do I set the sample rate of an audio recording within Objective C?
+4
A:
NSMutableDictionary *settings = [[NSMutableArray alloc] init];
[settings setValue: [NSNumber numberWithFloat:44100.0] forKey:AVSampleRate];
This should work.
Ardman
2010-03-16 15:59:20