Audio{Format,Parser}: use shortcuts such as "dsd64" in log messages

This commit is contained in:
Max Kellermann
2017-01-17 09:25:18 +01:00
parent cd0c06ba6e
commit d7137586a9
5 changed files with 39 additions and 2 deletions

View File

@@ -67,7 +67,8 @@ static constexpr AudioFormatStringTest af_string_tests[] = {
{ AudioFormat(44100, SampleFormat::S16, 2), "44100:16:2" },
{ AudioFormat(48000, SampleFormat::S24_P32, 6), "48000:24:6" },
{ AudioFormat(192000, SampleFormat::FLOAT, 2), "192000:f:2" },
{ AudioFormat(352800, SampleFormat::DSD, 2), "352800:dsd:2" },
{ AudioFormat(352801, SampleFormat::DSD, 2), "352801:dsd:2" },
{ AudioFormat(352800, SampleFormat::DSD, 2), "dsd64:2" },
};
static constexpr AudioFormatStringTest af_mask_tests[] = {