[Solved] Need advice on selecting output device for MP3 playback
General and Desktop
2
Posts
1
Posters
1.0k
Views
1
Watching
-
Hello, I would like to play MP3s through separate sound cards that I have on my machine. One is for main output, and another for previewing audio (through headphones).
Anyway, I noticed that there is no way to select the audio output device used by QMediaPlayer. So, I decided to give QAudioOutput a try. I thought there might be a way to get the output of QAudioDecoder into QAudioOutput. Unfortunately, QAudioDecoder apparently isn't implemented in OSX.
My questions
- Is there any other way to select an output device for MP3 playback using only Qt on OSX?
- Are QAudioDecoder and QAudioOutput even intended to work together? If so, how?
- Would I be better off using a different library for audio playback?