Skip to content

Commit

Permalink
If phonon is available, prefer it over "qt" sound system (the latter …
Browse files Browse the repository at this point in the history
…can only play wav files)
  • Loading branch information
ctrlaltca committed Jul 24, 2024
1 parent 7ceaea0 commit cc4995d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/snd/libkvisnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ bool KviSoundPlayer::detectSoundSystem(QString & szSoundSystem)
szSoundSystem = "winmm";
return true;
#endif
#ifdef COMPILE_PHONON_SUPPORT
szSoundSystem = "phonon";
return true;
#endif //!COMPILE_PHONON_SUPPORT
#ifdef COMPILE_QTMULTIMEDIA_SUPPORT
szSoundSystem = "qt";
return true;
Expand Down

0 comments on commit cc4995d

Please sign in to comment.