Renamed SoundStream::Chunk::NbSamples to SampleCount, and renamed other nbSamples variables to sampleCount

This commit is contained in:
Laurent Gomila 2012-01-13 15:09:30 +01:00
parent c2039e866c
commit e775bd0169
7 changed files with 39 additions and 39 deletions

View file

@ -49,8 +49,8 @@ public :
////////////////////////////////////////////////////////////
struct Chunk
{
const Int16* Samples; ///< Pointer to the audio samples
std::size_t NbSamples; ///< Number of samples pointed by Samples
const Int16* Samples; ///< Pointer to the audio samples
std::size_t SampleCount; ///< Number of samples pointed by Samples
};
////////////////////////////////////////////////////////////
@ -351,7 +351,7 @@ private :
/// {
/// // Fill the chunk with audio data from the stream source
/// data.Samples = ...;
/// data.NbSamples = ...;
/// data.SampleCount = ...;
///
/// // Return true to continue playing
/// return true;