X-Git-Url: http://git.tdb.fi/?p=libs%2Fal.git;a=blobdiff_plain;f=source%2Fformat.h;fp=source%2Fformat.h;h=4895377c062a7a45d39dc9747d9b8dc971add530;hp=ed6a1442750a73056102af93e76bb9d40b5edc0e;hb=227da1e7a20432e056e7ab42444cb56f197c53d6;hpb=7961a6bc2a735d08a5d1ffeb6772ec3d545cb98c diff --git a/source/format.h b/source/format.h index ed6a144..4895377 100644 --- a/source/format.h +++ b/source/format.h @@ -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