mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Minor indentation and namespace fix
This commit is contained in:
parent
a7f7c57a72
commit
424c424376
@ -114,19 +114,19 @@ protected :
|
||||
/// \brief Set the processing interval
|
||||
///
|
||||
/// The processing interval controls the period
|
||||
/// between calls to the onProcessSamples function. You may
|
||||
/// want to use a small interval if you want to process the
|
||||
/// recorded data in real time, for example.
|
||||
///
|
||||
/// Note: this is only a hint, the actual period may vary.
|
||||
/// So don't rely on this parameter to implement precise timing.
|
||||
/// between calls to the onProcessSamples function. You may
|
||||
/// want to use a small interval if you want to process the
|
||||
/// recorded data in real time, for example.
|
||||
///
|
||||
/// Note: this is only a hint, the actual period may vary.
|
||||
/// 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
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void setProcessingInterval(sf::Time interval);
|
||||
void setProcessingInterval(sf::Time interval);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Start capturing audio data
|
||||
|
@ -48,7 +48,7 @@ SoundRecorder::SoundRecorder() :
|
||||
m_thread (&SoundRecorder::record, this),
|
||||
m_sampleRate (0),
|
||||
m_isCapturing (false),
|
||||
m_processingInterval(sf::milliseconds(100))
|
||||
m_processingInterval(milliseconds(100))
|
||||
{
|
||||
priv::ensureALInit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user