Thanks for your help here. I chose to go with Phonon, as it seemed the
easiest to implemnt. The only odd behavior was that on Windows to play a
sound twice I had to do a seek(0) , but on Linux I did not have to do the
seek. Anyway have sound working with Phonon on Windows, Mac, and Linux.
Qt Roc
On quarta-feira, 25 de julho de 2012 13.31.31, David Boosalis wrote:
> Does there exist a sound file format that works across all platforms, And
> which way is the recommended way to play simple sounds, QSound or
> QMultimedia ?
Phonon or QtMultimedia(Kit). Never QSound in Qt 4.
--
Thiago Macieir
I was trying to implement a few sounds in my Qt Application. I tried
QSound but found that I could only get it to work on Windows. On Kubuntu
the wav files do play from the command line with mplayer, as do ogg files.
I then tried to use QAudioOutput which is part of the multimedia module.
This di