PDA

View Full Version : Volume Slider changes nothing in terms of volume



zgulser
18th September 2012, 08:06
Hi,

I have the following code to control application volume.



Phonon::AudioOutput *audioOutput = new Phonon::AudioOutput(Phonon::MusicCategory);
_ui.volumeSlider->setAudioOutput(audioOutput);


I put the dll's into their proper places and nothing seems on my "Output" window(using VS 2010).

My application is a simple VOIP application but nothing changes in volume when I slide the volume slider.

Any ideas?

yme
28th September 2012, 15:55
Trying to do same thing zgulser. But do not want to use Phonon since looks like it's slowly being phased out & replaced with QtMultimedia kit. And do not want to work directly with Windows API since would then be one-app-specific. So chose method used by Arun Kumar: http://www.codeproject.com/Articles/421287/Cross-Platform-Microphone-Audio-Processing-Utility which requires buffering audio data which am doing anyways. Good luck!