| 21 | } |
| 22 | |
| 23 | QAudioFormat makeFormat(int rate, AFN::SampleFmt fmt, int channels) |
| 24 | { |
| 25 | QAudioFormat f; |
| 26 | f.setSampleRate(rate); |
| 27 | f.setChannelCount(channels); |
| 28 | f.setSampleFormat(toQt(fmt)); |
| 29 | return f; |
| 30 | } |
| 31 | |
| 32 | AFN::DeviceCaps probe(const QAudioDevice& dev, AFN::Direction dir, AFN::TargetOs os, |
| 33 | bool bluetoothHfp, int preferredRateOverride) |
no test coverage detected