diff options
| author | 2008-11-08 17:17:14 +0000 | |
|---|---|---|
| committer | 2008-11-08 17:17:14 +0000 | |
| commit | 2850c46e4cadcffb55e346c386137f2757b54af2 (patch) | |
| tree | 9bc18c9a9456c6f732e0e7138236edda16798a12 /src/modules/snd/libkvisnd.cpp | |
| parent | applied patch to fix kvirc4.desktop, thanks to Arfrever (diff) | |
| download | KVIrc-2850c46e4cadcffb55e346c386137f2757b54af2.tar.gz KVIrc-2850c46e4cadcffb55e346c386137f2757b54af2.tar.bz2 KVIrc-2850c46e4cadcffb55e346c386137f2757b54af2.zip | |
hopefully removed all the remaining noisy messages from gcc
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2841 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/snd/libkvisnd.cpp')
| -rw-r--r-- | src/modules/snd/libkvisnd.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/snd/libkvisnd.cpp b/src/modules/snd/libkvisnd.cpp index ee535f8c2..17c950d70 100644 --- a/src/modules/snd/libkvisnd.cpp +++ b/src/modules/snd/libkvisnd.cpp @@ -317,7 +317,7 @@ bool KviSoundPlayer::playQt(const QString &szFileName) return true; } -bool KviSoundPlayer::playNull(const QString &szFileName) +bool KviSoundPlayer::playNull(const QString &) { // null sound system return true; @@ -402,7 +402,7 @@ void KviSoundThread::run() sampleFormat = -1; afGetVirtualSampleFormat(file, AF_DEFAULT_TRACK, &sampleFormat, &sampleWidth); - + if(sampleFormat == -1) { debug("libaudiofile couldn't find the sample format for file %s",m_szFileName.utf8().data()); @@ -765,19 +765,19 @@ static bool snd_module_init(KviModule * m) return true; } -static bool snd_module_cleanup(KviModule *m) +static bool snd_module_cleanup(KviModule *) { delete g_pSoundPlayer; g_pSoundPlayer = 0; return true; } -static bool snd_module_can_unload(KviModule *m) +static bool snd_module_can_unload(KviModule *) { return !(g_pSoundPlayer->havePlayingSounds()); } -static bool snd_module_ctrl(KviModule * m,const char * operation,void * param) +static bool snd_module_ctrl(KviModule *,const char * operation,void * param) { if(kvi_strEqualCI(operation,"getAvailableSoundSystems")) { |
