How to set audio volume use Qt API on Symbian
-
I just wanna to know How to set audio's volume on Symbian use Qt's API. Or it just can be done by Symbian native API use devSound?
I have a look at the related API a few month ago, using MultiMediaKit APIs, but it doesn't support setVolume function at that time.Update:
I want to use QAudioOutput for my voice record playback, and view the sound waves when recording. But i can not find a function that can setVolume in QAudioOutput. Specially for real-time record and play, so i can't use QMediaPlayer(which support set volume) for this case. -
Hi,
Please the following link as they might give you a hint: "Play Audio Files using Qt Mobility":http://wiki.forum.nokia.com/index.php/Play_Audio_Files_using_Qt_Mobility
The volume of the sound that is played at the example is set by "setVolume ":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/qmediaplayer.html#volume-prop
Best regards,
Leon -
[quote author="leon.anavi" date="1305882521"]Hi,
Please the following link as they might give you a hint: "Play Audio Files using Qt Mobility":http://wiki.forum.nokia.com/index.php/Play_Audio_Files_using_Qt_Mobility
The volume of the sound that is played at the example is set by "setVolume ":http://doc.qt.nokia.com/qtmobility-1.2.0-beta1/qmediaplayer.html#volume-prop
Best regards,
Leon[/quote]
Sorry, i don't want to use QMediaPlayer, for the case that i want to play buffers when recording. So i have to use QAudioOutput with audio input/record. Anyway, thanks! :)
-
[quote author="Chuck.Gao" date="1305884258"]
Sorry, i don't want to use QMediaPlayer, for the case that i want to play buffers when recording. So i have to use QAudioOutput with audio input/record. Anyway, thanks! :)[/quote]OK. Have you tried the proposed work arounds for Symbian regarding "No way to make the volume louder with QAudioOutput in Symbian devices":http://bugreports.qt.nokia.com/browse/QTMOBILITY-830 ?