diff options
| author | 2010-05-27 20:34:43 +0000 | |
|---|---|---|
| committer | 2010-05-27 20:34:43 +0000 | |
| commit | 1a96e473ed5b8b7424184280fdffbeaac1b00759 (patch) | |
| tree | f7b40813842c8a604b2ee94211c38f4837e35f60 /src/modules/snd/libkvisnd.cpp | |
| parent | fixed segfault (diff) | |
| download | KVIrc-1a96e473ed5b8b7424184280fdffbeaac1b00759.tar.gz KVIrc-1a96e473ed5b8b7424184280fdffbeaac1b00759.tar.bz2 KVIrc-1a96e473ed5b8b7424184280fdffbeaac1b00759.zip | |
Fix phonon playback (at least via xine engine). Amplify the test jingle a bit.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4379 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/snd/libkvisnd.cpp')
| -rw-r--r-- | src/modules/snd/libkvisnd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/snd/libkvisnd.cpp b/src/modules/snd/libkvisnd.cpp index d392ed82f..1b3abdf0f 100644 --- a/src/modules/snd/libkvisnd.cpp +++ b/src/modules/snd/libkvisnd.cpp @@ -261,6 +261,8 @@ bool KviSoundPlayer::playPhonon(const QString &szFileName) else m_pPhononPlayer->setCurrentSource(media); + m_pPhononPlayer->setTransitionTime(2000); // this fixes playback with the (very buggy) xine backend + if(m_pPhononPlayer->state() == Phonon::ErrorState) { QString szError = m_pPhononPlayer->errorString(); |
