PDA

View Full Version : deviceinfo, platform or qt?



janK
6th March 2010, 12:23
Hello
I am trying to read my soundcard. I have been using portaudio, but recently found out
that it is also possible using Qtmultimedia in Qt4.6.
However, under fedora-12 (64), the following lines give only an empty string as result.
My question
a. do I have to initialize something which I forget to do?
b. is it a problem with the underlying fedora?
All help appreciated

QAudioDeviceInfo infoI (QAudioDeviceInfo::defaultInputDevice());
qDebug () << "Device name: "<<infoI.deviceName ();
QAudioDeviceInfo infoO (QAudioDeviceInfo::defaultInputDevice());
qDebug () << "Device name: "<<infoO.deviceName ();

janK