Topic: Can not find all available sample rates through CoreAudio API

Hello,

I am the developer of Boom Recorder and I have been changing my sample rate preferences to allow any sample rate the audio device has available. Many customers of my product record at 48048 and some of them have the Fireface device, which should be perfect for this as it can handle these odd sample rates. But I have an issue with actually setting the sample rate to 48048 when using the CoreAudio API.

The available list of sample rates does not include 48048, instead it shows only a couple of discrete sample rates, when using the following address:
    address.mSelector = kAudioDevicePropertyAvailableNominalSampleRates;
    address.mScope = kAudioObjectPropertyScopeGlobal;
    address.mElement = kAudioObjectPropertyElementMaster;

I am also unable to set the 48048 sample rate, it seems to only allow the discrete sample rate when I use the following address:
    address.mSelector = kAudioDevicePropertyNominalSampleRate;
    address.mScope = kAudioObjectPropertyScopeGlobal;
    address.mElement = kAudioObjectPropertyElementMaster;

If the 48048 sample rate is set by the fireface configuration utility I am able to see that it is set to 48048 using the following address:
    address.mSelector = kAudioDevicePropertyNominalSampleRate;
    address.mScope = kAudioObjectPropertyScopeGlobal;
    address.mElement = kAudioObjectPropertyElementMaster;

Are the other addresses or an other API I should use to change the sample rate to 48048 on the fireface from within Boom Recorder?

Cheers,
    Take

Re: Can not find all available sample rates through CoreAudio API

Hi,

Have you tried Fireface Settings dialog
and set SampleRate in the DDS tab
works only if Fireface is in Master mode.

but the CoreAudio API sounds like a software related question only !

hopefully RME chime in here

regards S-EH