improve comments

This commit is contained in:
Russ Nelson
2016-05-08 19:23:57 -04:00
parent 4808be25ff
commit 49752ac3aa

View File

@@ -38,7 +38,7 @@ AudioBufferSource::AudioBufferSource(AudioSampleBuffer *audio_buffer)
// Destructor
AudioBufferSource::~AudioBufferSource()
{
// Clear and delete the buffer
// forget the AudioSampleBuffer. It still exists; we just don't know about it.
buffer = NULL;
};
@@ -130,7 +130,7 @@ void AudioBufferSource::setLooping (bool shouldLoop)
repeat = shouldLoop;
}
// Update the internal buffer used by this source
// Use a different AudioSampleBuffer for this source
void AudioBufferSource::setBuffer (AudioSampleBuffer *audio_buffer)
{
buffer = audio_buffer;