From c8ba5d212c9da7d11f08684c5d244cfaad4d0032 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 31 Aug 2010 09:10:41 +0000 Subject: 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 --- src/modules/dcc/voice.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/dcc/voice.cpp') 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); -- cgit v1.3.1-10-gc9f91