[Qt-interest] two questions about QAudio*

Maksim Kirillov ext-maksim.kirillov at nokia.com
Thu Aug 26 12:34:44 CEST 2010


Hi.

I'm trying to use QAudio*, and have a couple of questions.

I used version  4:4.6.2-0ubuntu5 from Ubuntu Lucid.

1. QAudioDeviceInfo::defaultOutputDevice() returns "null"
device, which does not produce any output. Is it the
intended behavior? Is it possible by configuration to make
it return other devices, like "pulse"?

2. Directly-constructed QAudioFormat seems to be always
invalid. It seems that to use QAudioFormat, it must be taken
from QAudioDeviceInfo::nearestFormat() or
QAudioDeviceInfo::preferredFormat(). Is this correct?

Thanks,
-- 
Max



More information about the Qt-interest-old mailing list