From 1eba20bc3bd44feaa208752aa45cd2f6714d4287 Mon Sep 17 00:00:00 2001 From: Craig Hansen-Sturm Date: Sat, 6 Sep 2014 02:32:13 -0700 Subject: [PATCH] minor cleanup --- libraries/audio/src/AudioFormat.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/audio/src/AudioFormat.h b/libraries/audio/src/AudioFormat.h index 0ded25d0c3..da082ead94 100644 --- a/libraries/audio/src/AudioFormat.h +++ b/libraries/audio/src/AudioFormat.h @@ -23,7 +23,7 @@ typedef double float64_t; #endif // -// Audio format structure (uncompressed streams only) +// Audio format structure (currently for uncompressed streams only) // struct AudioFormat { @@ -62,7 +62,7 @@ struct AudioFormat { void setCanonicalFloat32(uint32_t channels) { assert(channels > 0 && channels <= 2); - _sampleRate = SAMPLE_RATE; + _sampleRate = SAMPLE_RATE; // todo: create audio constants header _bitsPerChannel = sizeof(float32_t) * 8; _channelsPerFrame = channels; _bytesPerFrame = _channelsPerFrame * _bitsPerChannel / 8; @@ -72,7 +72,7 @@ struct AudioFormat { void setCanonicalInt16(uint32_t channels) { assert(channels > 0 && channels <= 2); - _sampleRate = SAMPLE_RATE; + _sampleRate = SAMPLE_RATE; // todo: create audio constants header _bitsPerChannel = sizeof(int16_t) * 8; _channelsPerFrame = channels; _bytesPerFrame = _channelsPerFrame * _bitsPerChannel / 8;