Hi,iOS or Mac OS ?On Mountain Lion, I have a working code with one more entry in the dictionary :[NSNumber numberWithBool:false], AVLinearPCMIsBigEndianKey Manuel2013/1/9 Vincent Jousse <email@hidden> Hi, When I record using AVAudioRecorder and the following parameters, I get 32bit samples (what I want) but they are not floats. Does anybody know what happens ? NSDictionary *recordSettings = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt: kAudioFormatLinearPCM], AVFormatIDKey, [NSNumber numberWithFloat: 44100.0], AVSampleRateKey, [NSNumber numberWithInt: 1], AVNumberOfChannelsKey, [NSNumber numberWithInt: 32], AVLinearPCMBitDepthKey, [NSNumber numberWithBool:YES], AVLinearPCMIsFloatKey, nil]; --Vincent _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden Follow-Ups: Re: recording in float with AVAudioRecorder From: Art Gillespie <email@hidden> References: >recording in float with AVAudioRecorder (From: Vincent Jousse <email@hidden>) >Fwd: recording in float with AVAudioRecorder (From: Manu N <email@hidden>) Prev by Date: Fwd: recording in float with AVAudioRecorder Next by Date: Which Audio Units work in iOS? Previous by thread: Fwd: recording in float with AVAudioRecorder Next by thread: Re: recording in float with AVAudioRecorder Index(es): Date Thread
Hi, When I record using AVAudioRecorder and the following parameters, I get 32bit samples (what I want) but they are not floats. Does anybody know what happens ? NSDictionary *recordSettings = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt: kAudioFormatLinearPCM], AVFormatIDKey, [NSNumber numberWithFloat: 44100.0], AVSampleRateKey, [NSNumber numberWithInt: 1], AVNumberOfChannelsKey, [NSNumber numberWithInt: 32], AVLinearPCMBitDepthKey, [NSNumber numberWithBool:YES], AVLinearPCMIsFloatKey, nil]; --Vincent _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden