Audio: Fix AudioFormat names (U16 -> I16)

This commit is contained in:
Jérôme Leclercq
2021-05-30 03:21:30 +02:00
parent 2d16cf81d1
commit d5c27a756b
8 changed files with 61 additions and 61 deletions

View File

@@ -20,7 +20,7 @@ SCENARIO("Music", "[AUDIO][MUSIC]")
{
CHECK(music.GetDuration() <= 64000); // 1 min 03 = 63s = 63000ms
CHECK(music.GetDuration() >= 63000);
CHECK(music.GetFormat() == Nz::AudioFormat::U16_Stereo);
CHECK(music.GetFormat() == Nz::AudioFormat::I16_Stereo);
CHECK(music.GetPlayingOffset() == 0);
CHECK(music.GetSampleCount() <= 5644800); // 64s * 44100 Hz * 2 (stereo)
CHECK(music.GetSampleCount() >= 5556600); // 63s * 44100 Hz * 2 (stereo)