57 #if !defined(COMPILE_ON_WINDOWS) && !defined(COMPILE_ON_MINGW)
58 #ifdef COMPILE_OSS_SUPPORT
62 KviOssSoundThread(
const QString & szFileName);
63 virtual ~KviOssSoundThread();
69 #ifdef COMPILE_AUDIOFILE_SUPPORT
73 KviOssAudiofileSoundThread(
const QString & szFileName);
74 virtual ~KviOssAudiofileSoundThread();
79 #endif //COMPILE_AUDIOFILE_SUPPORT
80 #endif //COMPILE_OSS_SUPPORT
82 #ifdef COMPILE_ESD_SUPPORT
86 KviEsdSoundThread(
const QString & szFileName);
87 virtual ~KviEsdSoundThread();
92 #endif //COMPILE_ESD_SUPPORT
94 #ifdef COMPILE_ARTS_SUPPORT
98 KviArtsSoundThread(
const QString & szFileName);
99 virtual ~KviArtsSoundThread();
104 #endif //COMPILE_ARTS_SUPPORT
107 #ifdef COMPILE_PHONON_SUPPORT
149 bool play(
const QString & szFileName);
165 #ifdef COMPILE_PHONON_SUPPORT
166 Phonon::MediaObject * m_pPhononPlayer;
168 KviSoundPlayerEntry * m_pLastUsedSoundPlayerEntry;
173 virtual bool event(QEvent *
e);
178 #ifdef COMPILE_PHONON_SUPPORT
179 bool playPhonon(
const QString & szFileName);
180 void cleanupPhonon();
182 #if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW)
183 bool playWinmm(
const QString & szFileName);
186 #ifdef COMPILE_OSS_SUPPORT
187 bool playOss(
const QString & szFileName);
189 #ifdef COMPILE_AUDIOFILE_SUPPORT
190 bool playOssAudiofile(
const QString & szFileName);
191 void cleanupOssAudiofile();
192 #endif //COMPILE_AUDIOFILE_SUPPORT
193 #endif //COMPILE_OSS_SUPPORT
194 #ifdef COMPILE_ARTS_SUPPORT
195 bool playArts(
const QString & szFileName);
197 #endif //COMPILE_ARTS_SUPPORT
198 #ifdef COMPILE_ESD_SUPPORT
199 bool playEsd(
const QString & szFileName);
201 #endif //COMPILE_ESD_SUPPORT
203 bool playQt(const QString & szFileName);
205 bool playNull(
const QString & szFileName);
KviPointerHashTable< QString, KviSoundPlayerEntry > * m_pSoundSystemDict
Definition: libkvisnd.h:164
void cleanupQt()
Definition: libkvisnd.cpp:364
SoundSystemCleanupRoutine cleanupRoutine() const
Definition: libkvisnd.h:134
SoundSystemPlayRoutine playRoutine() const
Definition: libkvisnd.h:129
void registerSoundThread(KviSoundThread *t)
Definition: libkvisnd.cpp:188
virtual bool event(QEvent *e)
Definition: libkvisnd.cpp:198
#define l
Definition: detector.cpp:76
#define KVI_OPTION_BOOL(_idx)
Definition: KviOptions.h:653
Definition: libkvisnd.h:39
Definition: libkvisnd.h:117
void cleanupNull()
Definition: libkvisnd.cpp:376
bool(KviSoundPlayer::* SoundSystemPlayRoutine)(const QString &szFileName)
COMPILE_ON_WINDOWS.
Definition: libkvisnd.h:114
#define e
Definition: detector.cpp:69
virtual ~KviSoundThread()
Definition: libkvisnd.cpp:426
void unregisterSoundThread(KviSoundThread *t)
Definition: libkvisnd.cpp:193
virtual ~KviSoundPlayer()
Definition: libkvisnd.cpp:123
void detectSoundSystem()
Definition: libkvisnd.cpp:211
virtual void play()
Definition: libkvisnd.cpp:437
void(KviSoundPlayer::* SoundSystemCleanupRoutine)()
Definition: libkvisnd.h:115
Definition: KviThread.h:182
KviSoundThread(const QString &szFileName)
Definition: libkvisnd.cpp:418
bool isMuted()
Definition: libkvisnd.h:153
bool playNull(const QString &szFileName)
Definition: libkvisnd.cpp:370
void setMuted(bool muted)
Definition: libkvisnd.h:157
void cleanupAfterLastPlayerEntry()
Definition: libkvisnd.cpp:154
KviSoundPlayer()
Definition: libkvisnd.cpp:83
#define KviOption_boolMuteAllSounds
Definition: KviOptions.h:299
KviPointerList< KviSoundThread > * m_pThreadList
Definition: libkvisnd.h:163
QHashIterator< int, QFile * > t(getDict)
C++ Template based double linked pointer list class.
virtual void run()
Definition: libkvisnd.cpp:441
bool play(const QString &szFileName)
Definition: libkvisnd.cpp:380
void getAvailableSoundSystems(QStringList *l)
Definition: libkvisnd.cpp:165
QString m_szFileName
Definition: libkvisnd.h:47
SoundSystemPlayRoutine m_pPlayRoutine
Definition: libkvisnd.h:120
KviSoundPlayerEntry(SoundSystemPlayRoutine pPlayRoutine, SoundSystemCleanupRoutine pCleanupRoutine)
Definition: libkvisnd.h:124
bool m_bTerminate
Definition: libkvisnd.h:46
bool havePlayingSounds()
Definition: libkvisnd.cpp:175
SoundSystemCleanupRoutine m_pCleanupRoutine
Definition: libkvisnd.h:121
Definition: libkvisnd.h:140
This file contains compile time settings.
void stopAllSoundThreads()
Definition: libkvisnd.cpp:143
void terminate()
Definition: libkvisnd.cpp:432