aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/voice.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2010-08-31 09:10:41 +0000
committerGravatar Fabio Bas2010-08-31 09:10:41 +0000
commitc8ba5d212c9da7d11f08684c5d244cfaad4d0032 (patch)
treeed21d44e601fd369c5830bf7c445879ed3ebc5a0 /src/modules/dcc/voice.cpp
parentsome fix for OnHighlight doc (diff)
downloadKVIrc-c8ba5d212c9da7d11f08684c5d244cfaad4d0032.tar.gz
KVIrc-c8ba5d212c9da7d11f08684c5d244cfaad4d0032.tar.bz2
KVIrc-c8ba5d212c9da7d11f08684c5d244cfaad4d0032.zip
applied typo fixes for the "file" and "config" modules (thank OmegaPhil)
fixed fsf address in python/pythoncore modules fixed "space before comma" in documentation/coments/code regenerated translations git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4954 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/voice.cpp')
-rw-r--r--src/modules/dcc/voice.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/dcc/voice.cpp b/src/modules/dcc/voice.cpp
index 283ae4324..c46eb1f81 100644
--- a/src/modules/dcc/voice.cpp
+++ b/src/modules/dcc/voice.cpp
@@ -83,7 +83,7 @@ extern KviDccBroker * g_pDccBroker;
//#define KVI_AUDIO_DEVICE "/dev/dsp"
-// 32 fragments , 512 bytes
+// 32 fragments, 512 bytes
#define KVI_SNDCTL_FRAG_SIZE 0x00B00009
#define KVI_FRAGMENT_SIZE_IN_BYTES 512
#define KVI_FORMAT AFMT_S16_LE
@@ -391,7 +391,7 @@ bool KviDccVoiceThread::soundStep()
// m_uSleepTime += 100; // sleep for a while
//}
} else {
- // hmmmm....playing , but nothing to write , possible underrun or EOF
+ // hmmmm....playing, but nothing to write, possible underrun or EOF
// a nice idea would be to use SNDCTL_DSP_GETODELAY here...
// but it appears to be broken on some audio devices
if(ioctl(m_soundFd,SNDCTL_DSP_GETOSPACE,&info) < 0)info.fragstotal = info.fragments; // dummy...but what should we do ?
@@ -407,12 +407,12 @@ bool KviDccVoiceThread::soundStep()
{
if(m_inSignalBuffer.size() >= m_pOpt->iPreBufferSize)
{
- // yep...stuff to play... open the soundcard , if possible
+ // yep...stuff to play... open the soundcard, if possible
startPlaying();
m_iLastSignalBufferSize = m_inSignalBuffer.size();
} else {
- // have stuff to play , but it's not enough to fill the pre-buffer
+ // have stuff to play, but it's not enough to fill the pre-buffer
//
struct timeval tv;
gettimeofday(&tv,0);