Minor indentation and namespace fix

This commit is contained in:
Laurent Gomila 2013-08-12 19:02:12 +02:00
parent a7f7c57a72
commit 424c424376
2 changed files with 10 additions and 10 deletions

View File

@ -114,19 +114,19 @@ protected :
/// \brief Set the processing interval /// \brief Set the processing interval
/// ///
/// The processing interval controls the period /// The processing interval controls the period
/// between calls to the onProcessSamples function. You may /// between calls to the onProcessSamples function. You may
/// want to use a small interval if you want to process the /// want to use a small interval if you want to process the
/// recorded data in real time, for example. /// recorded data in real time, for example.
/// ///
/// Note: this is only a hint, the actual period may vary. /// Note: this is only a hint, the actual period may vary.
/// So don't rely on this parameter to implement precise timing. /// So don't rely on this parameter to implement precise timing.
///
/// The default processing interval is 100 ms.
/// ///
/// The default processing interval is 100 ms.
///
/// \param interval Processing interval /// \param interval Processing interval
/// ///
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
void setProcessingInterval(sf::Time interval); void setProcessingInterval(sf::Time interval);
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Start capturing audio data /// \brief Start capturing audio data

View File

@ -48,7 +48,7 @@ SoundRecorder::SoundRecorder() :
m_thread (&SoundRecorder::record, this), m_thread (&SoundRecorder::record, this),
m_sampleRate (0), m_sampleRate (0),
m_isCapturing (false), m_isCapturing (false),
m_processingInterval(sf::milliseconds(100)) m_processingInterval(milliseconds(100))
{ {
priv::ensureALInit(); priv::ensureALInit();
} }