From d2970443dde92a85237574abaa7e318785d2db97 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 22 Sep 2020 10:43:27 -0700 Subject: Recognize B-Format format names in the examples --- examples/common/alhelpers.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/common/alhelpers.c b/examples/common/alhelpers.c index c432ea46..1d498ffa 100644 --- a/examples/common/alhelpers.c +++ b/examples/common/alhelpers.c @@ -114,6 +114,12 @@ const char *FormatName(ALenum format) case AL_FORMAT_STEREO8: return "Stereo, U8"; case AL_FORMAT_STEREO16: return "Stereo, S16"; case AL_FORMAT_STEREO_FLOAT32: return "Stereo, Float32"; + case AL_FORMAT_BFORMAT2D_8: return "B-Format 2D, U8"; + case AL_FORMAT_BFORMAT2D_16: return "B-Format 2D, S16"; + case AL_FORMAT_BFORMAT2D_FLOAT32: return "B-Format 2D, Float32"; + case AL_FORMAT_BFORMAT3D_8: return "B-Format 3D, U8"; + case AL_FORMAT_BFORMAT3D_16: return "B-Format 3D, S16"; + case AL_FORMAT_BFORMAT3D_FLOAT32: return "B-Format 3D, Float32"; } return "Unknown Format"; } -- cgit v1.2.3