diff options
author | Chris Robinson <[email protected]> | 2020-09-22 10:43:27 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-09-22 10:43:27 -0700 |
commit | d2970443dde92a85237574abaa7e318785d2db97 (patch) | |
tree | 88a5142033fadc916ba5823db922d7c4c407f665 /examples/common/alhelpers.c | |
parent | c993ade9bf6a1980e598dcc689834772248e2b66 (diff) |
Recognize B-Format format names in the examples
Diffstat (limited to 'examples/common/alhelpers.c')
-rw-r--r-- | examples/common/alhelpers.c | 6 |
1 files changed, 6 insertions, 0 deletions
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"; } |