Sample rate 192 kHz using Qt 5.3



  • I need to capture and play audio in high samle rate=192 kHz.

    I have the corresponding hardware (external sound card).

    The function supportedSampleRates() returns me constantly QList which consisted of [8000,11025,22050,44100,48000, 96000], even if I chouse different availableDevices

    @QList<QAudioDeviceInfo> devicesOutput = QAudioDeviceInfo::availableDevices(QAudio::AudioOutput);
    QAudioDeviceInfo infoOutExt(devicesOutput.at(1));
    QList<int> rateOutExt=infoOutExt.supportedSampleRates();@

    Can I get 192 kHz in Qt 5.3?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    It will depend also on the multimedia backend you are using. Which OS are you running ?



  • SGaist, thank you.

    I am using windows 7


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.