Re: SampleRate Conversion
Re: SampleRate Conversion
- Subject: Re: SampleRate Conversion
- From: Frederic De Jaeger <email@hidden>
- Date: Fri, 20 Jun 2014 10:22:45 +0200
I've never used those API so I might be wrong. I'm not sure that format conversions cover the going from stereo to mono since this implies a severe data loss. You have to decide how this is to be done and there is no universal answer for this problem (taking the average of the left and right channel can lead to phase cancellation issues and this API would probably not do such a job).
Did you have a look at kAudioConverterChannelMap ?
By the way, from the description, it looks the converter should work even if the channel map is not set. It will just throw out one of the input channel (which is probably not a good way to do stereo -> mono).
And one more things:
// from AudioConverter.h
kAudioConverterErr_InvalidInputSize = 'insz',
_______________________________________________
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