My app should enumerate all available audio ouput devices (like skype, see:
and allow user to select any device he wants to play sound in.

I use the following code

Qt Code:
  1. QList<Phonon::AudioOutputDevice> devices = Phonon::BackendCapabilities::availableAudioOutputDevices();
To copy to clipboard, switch view to plain text mode 

but when I call name() method of AudioOutputDevice instance, it returns unreadable name like

What is the right way to get a list of all available audio output devices in phonon?