]> git.tdb.fi Git - libs/al.git/blobdiff - source/format.h
Implement seeking in sound decoders
[libs/al.git] / source / format.h
index a940d257b1345d7b8ae34ec10e098205787e7c7c..4895377c062a7a45d39dc9747d9b8dc971add530 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef MSP_AL_FORMAT_H_
 #define MSP_AL_FORMAT_H_
 
-#include <AL/al.h>
+#include "al.h"
 
 namespace Msp {
 namespace AL {
@@ -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