开发者

Multichannel audio input using Qt/Phonon

开发者 https://www.devze.com 2023-04-10 20:40 出处:网络
My company is currently working on what could be called an audio analysis program which needs to process to multiple audio inputs (8 or so) i开发者_如何学JAVAn real time. This means that we need a fra

My company is currently working on what could be called an audio analysis program which needs to process to multiple audio inputs (8 or so) i开发者_如何学JAVAn real time. This means that we need a framework that can handle multichannel audio interface devices that have up to 8 input channels. On top of this, the framework should be as portable as possible. We actually started our development using Java but it ran into issues with the sound API.

When looking for alternate ways to do what we need, I started thinking about using C++ and Qt. I have some experience with both, but I've never done anything remotely similar (in any language for that matter)

Now, the question is, can Qt/Phonon handle audio interfaces/sound cards with over 2 input channels (assuming that the OS can see the devices just fine)? Would it dependent on the backend being used?


Phonon as no input function. it's for playback only if i'm right.
but if you want to process input audio you can use QAudioInput. I've used it with just one audio input but I think this constructor with the right QAudioDeviceInfo could do what you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号