KVIrc
4.9.2
DeveloperAPIs
|
#include <libkvisnd.h>
Public Member Functions | |
void | detectSoundSystem () |
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 () |
void | cleanupQt () |
virtual bool | event (QEvent *e) |
bool | playNull (const QString &szFileName) |
bool | playQt (const QString &szFileName) |
COMPILE_PHONON_SUPPORT. More... | |
void | registerSoundThread (KviSoundThread *t) |
void | stopAllSoundThreads () |
void | unregisterSoundThread (KviSoundThread *t) |
Protected Attributes | |
KviSoundPlayerEntry * | m_pLastUsedSoundPlayerEntry |
COMPILE_PHONON_SUPPORT. More... | |
KviPointerHashTable< QString, KviSoundPlayerEntry > * | m_pSoundSystemDict |
KviPointerList< KviSoundThread > * | m_pThreadList |
Friends | |
class | KviSoundThread |
KviSoundPlayer::KviSoundPlayer | ( | ) |
COMPILE_PHONON_SUPPORT
COMPILE_PHONON_SUPPORT
COMPILE_ON_WINDOWS
COMPILE_ON_WINDOWS
References cleanupNull(), cleanupQt(), KviPointerHashTable< Key, T >::insert(), KVI_PTR2MEMBER, m_pLastUsedSoundPlayerEntry, m_pSoundSystemDict, m_pThreadList, playNull(), playQt(), KviPointerHashTable< Key, T >::setAutoDelete(), and KviPointerList< T >::setAutoDelete().
|
virtual |
|
protected |
References KviSoundPlayerEntry::cleanupRoutine(), m_pLastUsedSoundPlayerEntry, r, and stopAllSoundThreads().
Referenced by play(), and ~KviSoundPlayer().
|
protected |
Referenced by KviSoundPlayer().
|
protected |
Referenced by KviSoundPlayer().
void KviSoundPlayer::detectSoundSystem | ( | ) |
References KVI_OPTION_STRING, KviOption_stringSoundSystem, and NULL.
Referenced by play(), snd_kvs_cmd_autodetect(), and snd_module_ctrl().
|
protectedvirtual |
References KVI_THREAD_EVENT, and t().
void KviSoundPlayer::getAvailableSoundSystems | ( | QStringList * | l | ) |
References KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), and m_pSoundSystemDict.
Referenced by snd_module_ctrl().
bool KviSoundPlayer::havePlayingSounds | ( | ) |
References KviPointerList< T >::count(), and m_pThreadList.
Referenced by snd_module_can_unload().
|
inline |
References KVI_OPTION_BOOL, and KviOption_boolMuteAllSounds.
Referenced by play(), playQt(), and snd_kvs_fnc_ismuted().
bool KviSoundPlayer::play | ( | const QString & | szFileName | ) |
References cleanupAfterLastPlayerEntry(), detectSoundSystem(), e, KviQString::equalCI(), KviPointerHashTable< Key, T >::find(), isMuted(), KVI_OPTION_STRING, KviOption_stringSoundSystem, m_pLastUsedSoundPlayerEntry, m_pSoundSystemDict, KviSoundPlayerEntry::playRoutine(), and r.
Referenced by snd_kvs_cmd_play(), and snd_module_ctrl().
|
protected |
Referenced by KviSoundPlayer().
|
protected |
COMPILE_PHONON_SUPPORT.
COMPILE_ON_WINDOWS COMPILE_ON_WINDOWS
References isMuted().
Referenced by KviSoundPlayer().
|
protected |
References KviPointerList< T >::append(), and m_pThreadList.
Referenced by KviSoundThread::KviSoundThread().
|
inline |
References KVI_OPTION_BOOL, and KviOption_boolMuteAllSounds.
Referenced by snd_kvs_cmd_mute(), and snd_kvs_cmd_unmute().
|
protected |
References KviPointerList< T >::first(), m_pThreadList, KviPointerList< T >::setAutoDelete(), and t().
Referenced by cleanupAfterLastPlayerEntry(), and ~KviSoundPlayer().
|
protected |
References m_pThreadList, and KviPointerList< T >::removeRef().
Referenced by KviSoundThread::~KviSoundThread().
|
friend |
|
protected |
COMPILE_PHONON_SUPPORT.
Referenced by cleanupAfterLastPlayerEntry(), KviSoundPlayer(), play(), and ~KviSoundPlayer().
|
protected |
Referenced by getAvailableSoundSystems(), KviSoundPlayer(), play(), and ~KviSoundPlayer().
|
protected |