Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to specify the channel number of USB audio interface.
I want to create a program to import audio signals from USB audio interface.
I've read the Qt specifications,
but I can't find a function to specify the channel number to be recognized.
Is there a function to specify a channel other than channel number 1 in Qt?
Hi and welcome to devnet,
Which OS are you on ?
How is your card seen by the system ?
What are you using to do the capture ?
How does Qt get when you enumerate the devices from it ?
Thanks for the reply.
I am using Windows 10 and MacOS 10.14.
On the USB audio interface I have, the "QAudioDeviceInfo" returns the following.
supportedByteOrder : [LittleEndian][BigEndian].
supportedSampleType : [SignedInt][UnSignedInt][Float].
supportedSampleRates : ]
supportedChannelCounts : 
supportedSampleSizes : .
supportedCodecs : [audio/pcm]
However, this audio interface is originally a 64-channel product,
so I think the "supportedChannelCounts" number is wrong.
No matter how I set it, only the input of channel number 1 was recognized.
Does this mean that Qt can't properly recognize USB audio interfaces with more than 16 channels?
I would like Qt to recognize a number other than channel number 1 and run the program.
Looks like the kind of hardware that is out of league for QtMultimedia.
Depending on what you want to do next, I think that PortAudio is worth checking.
So that's what it was after all.
I had expected that since there was no setting for it, but...
Thank you very much for the good information!
I'll check out PortAudio.