]> git.tdb.fi Git - libs/al.git/blobdiff - source/format.h
Add utility functions for manipulating formats
[libs/al.git] / source / format.h
index ed6a1442750a73056102af93e76bb9d40b5edc0e..4895377c062a7a45d39dc9747d9b8dc971add530 100644 (file)
@@ -14,6 +14,12 @@ enum Format
        STEREO16 = AL_FORMAT_STEREO16
 };
 
+Format create_format(unsigned, unsigned);
+
+unsigned get_sample_size(Format);
+unsigned get_n_channels(Format);
+unsigned get_unit_size(Format);
+
 } // namespace AL
 } // namespace Msp