diff options
| author | 2017-12-27 20:22:42 +0000 | |
|---|---|---|
| committer | 2017-12-27 20:22:42 +0000 | |
| commit | 582252f695587d3b9f67f1cee24315aff5f8ba2d (patch) | |
| tree | 96e5650359b5704fd46309b057dba22ecbdabcc6 /src/modules/snd | |
| parent | Workaround to vc_redist #2335 (#2336) (diff) | |
| download | KVIrc-582252f695587d3b9f67f1cee24315aff5f8ba2d.tar.gz KVIrc-582252f695587d3b9f67f1cee24315aff5f8ba2d.tar.bz2 KVIrc-582252f695587d3b9f67f1cee24315aff5f8ba2d.zip | |
Fix the sound system autodetection (#2278)
* Automatically detect a sound system during first startup.
Previously, the default system for Windows was "null".
* Remove phonon from the sound system autodetection list.
Our phonon detection code didn't work well, and "qt" is a safe
default for Linux.
Diffstat (limited to 'src/modules/snd')
| -rw-r--r-- | src/modules/snd/libkvisnd.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/modules/snd/libkvisnd.cpp b/src/modules/snd/libkvisnd.cpp index a324b91a9..92ea18fa6 100644 --- a/src/modules/snd/libkvisnd.cpp +++ b/src/modules/snd/libkvisnd.cpp @@ -210,16 +210,6 @@ bool KviSoundPlayer::event(QEvent * e) void KviSoundPlayer::detectSoundSystem() { -#ifdef COMPILE_PHONON_SUPPORT - // FIXME: Phonon seems to freeze on windows sometimes.. maybe it's better to auto-detect winmm ? - if(!m_pPhononPlayer) - m_pPhononPlayer = Phonon::createPlayer(Phonon::MusicCategory); - if(m_pPhononPlayer->state() != Phonon::ErrorState) - { - KVI_OPTION_STRING(KviOption_stringSoundSystem) = "phonon"; - return; - } -#endif #if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW) KVI_OPTION_STRING(KviOption_stringSoundSystem) = "winmm"; #else |
