![]() |
KVIrc 5.2.6
Developer APIs
|
#include <libkvisnd.h>
Public Member Functions | |
bool | detectSoundSystem (QString &szSoundSystem) |
void | getAvailableSoundSystems (QStringList *l) |
bool | havePlayingSounds () |
bool | isMuted () |
KviSoundPlayer () | |
bool | play (const QString &szFileName) |
void | setMuted (bool muted) |
virtual | ~KviSoundPlayer () |
Protected Member Functions | |
void | cleanupAfterLastPlayerEntry () |
void | cleanupNull () |
bool | event (QEvent *e) override |
bool | playNull (const QString &szFileName) |
COMPILE_PHONON_SUPPORT. | |
void | registerSoundThread (KviSoundThread *t) |
void | stopAllSoundThreads () |
void | unregisterSoundThread (KviSoundThread *t) |
Protected Attributes | |
KviSoundPlayerEntry * | m_pLastUsedSoundPlayerEntry |
COMPILE_PHONON_SUPPORT. | |
KviPointerHashTable< QString, KviSoundPlayerEntry > * | m_pSoundSystemDict |
KviPointerList< KviSoundThread > * | m_pThreadList |
Friends | |
class | KviSoundThread |
KviSoundPlayer::KviSoundPlayer | ( | ) |
COMPILE_PHONON_SUPPORT
COMPILE_ON_WINDOWS
COMPILE_ON_WINDOWS
References cleanupNull(), KVI_PTR2MEMBER, m_pLastUsedSoundPlayerEntry, m_pSoundSystemDict, m_pThreadList, and playNull().
|
virtual |
|
protected |
References m_pLastUsedSoundPlayerEntry, r, and stopAllSoundThreads().
Referenced by play(), and ~KviSoundPlayer().
|
protected |
Referenced by KviSoundPlayer().
bool KviSoundPlayer::detectSoundSystem | ( | QString & | szSoundSystem | ) |
COMPILE_PHONON_SUPPORT
Referenced by play().
|
overrideprotected |
References e, KVI_THREAD_EVENT, KviSoundThread, and t.
void KviSoundPlayer::getAvailableSoundSystems | ( | QStringList * | l | ) |
bool KviSoundPlayer::havePlayingSounds | ( | ) |
References m_pThreadList.
|
inline |
References KVI_OPTION_BOOL, and KviOption_boolMuteAllSounds.
Referenced by play().
bool KviSoundPlayer::play | ( | const QString & | szFileName | ) |
|
protected |
|
protected |
References KviSoundThread, m_pThreadList, and t.
|
inline |
References KVI_OPTION_BOOL, and KviOption_boolMuteAllSounds.
|
protected |
References KviSoundThread, m_pThreadList, and t.
Referenced by cleanupAfterLastPlayerEntry(), and ~KviSoundPlayer().
|
protected |
References KviSoundThread, m_pThreadList, and t.
|
friend |
References KviSoundThread, and l.
Referenced by event(), KviSoundThread, registerSoundThread(), stopAllSoundThreads(), and unregisterSoundThread().
|
protected |
COMPILE_PHONON_SUPPORT.
COMPILE_QTMULTIMEDIA_SUPPORT
Referenced by cleanupAfterLastPlayerEntry(), KviSoundPlayer(), play(), and ~KviSoundPlayer().
|
protected |
Referenced by getAvailableSoundSystems(), KviSoundPlayer(), play(), and ~KviSoundPlayer().
|
protected |