diff --git a/tests/Interface/core/AudioContainerTest.cpp b/tests/Interface/core/AudioContainerTest.cpp index d113a1bab..3f45713e0 100644 --- a/tests/Interface/core/AudioContainerTest.cpp +++ b/tests/Interface/core/AudioContainerTest.cpp @@ -30,10 +30,10 @@ int main() { // --------------------------------------------------------------------------- // 1. Print Decoded Reuslts using Buddy Audio Container // --------------------------------------------------------------------------- - - // Read and decode audio file with Buddy Audio Contaier. + + // Read and decode audio file with Buddy Audio Contaier. dap::Audio aud("../../../../tests/Interface/core/TestAudio.wav"); - + // CHECK: WAV fprintf(stderr, "%s\n", aud.getFormatName().c_str()); // CHECK: 16 @@ -48,11 +48,11 @@ int main() { fprintf(stderr, "%f\n", aud.getData()[3]); // CHECK: -0.000275 fprintf(stderr, "%f\n", aud.getData()[4]); - + // --------------------------------------------------------------------------- // 2. Compare Encoded results using Buddy Audio Container and AudioFile.h // --------------------------------------------------------------------------- - + // Encode the audio data and save it to a file using the Buddy Audio Container string filePath = "./buddyEncodeResult.wav"; aud.saveToFile(filePath, "WAVE"); @@ -72,7 +72,6 @@ int main() { // CHECK: -0.000244 fprintf(stderr, "%f\n", audContainer.getData()[4]); - // Print metadata and sample values using the third-party (AudioFile.h). AudioFile audFile(filePath); // CHECK: 16