Reputation: 10715
How do I set the sample rate of an audio recording within Objective C?
Upvotes: 0
Views: 457
Reputation: 48537
NSMutableDictionary *settings = [[NSMutableArray alloc] init];
[settings setValue: [NSNumber numberWithFloat:44100.0] forKey:AVSampleRate];
This should work.
Upvotes: 2