views:

41

answers:

1

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