This ist my check for maximum WASAPI-Samplerate:
int[] samplerates = new int[] { 44100, 88200, 96000, 176400, 352800 };
foreach (var sr in samplerates)
{
BASSWASAPIFormat res = BassWasapi.BASS_WASAPI_CheckFormat(wasapiDevice, sr, 2, BASSWASAPIFormat.BASS_WASAPI_FORMAT_FLOAT);
if (res != BASSWASAPIFormat.BASS_WASAPI_FORMAT_UNKNOWN)
{
MaxSamplingRate = sr;
maxFormat = res;
Debug.WriteLine($"SR {sr} fmt {res}");
}
}
This works well with DAC Topping D10s. Debug-Output:
SR 44100 fmt BASS_WASAPI_FORMAT_32BIT
SR 88200 fmt BASS_WASAPI_FORMAT_32BIT
SR 96000 fmt BASS_WASAPI_FORMAT_32BIT
SR 176400 fmt BASS_WASAPI_FORMAT_32BIT
SR 352800 fmt BASS_WASAPI_FORMAT_32BIT
With Steinberg UR22mkII its only 44100:
SR 44100 fmt BASS_WASAPI_FORMAT_24BIT
But this is wrong, Steinbergs maximum is 192 kHz!
Is this a problem of Wasapi.dll?