X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fformat.h;h=4895377c062a7a45d39dc9747d9b8dc971add530;hb=227da1e7a20432e056e7ab42444cb56f197c53d6;hp=624fb60591fd1e86d67b1c1c6859dcda99ebd18f;hpb=35ea5cc8d1eb8c806885d27441548f630e7b1266;p=libs%2Fal.git diff --git a/source/format.h b/source/format.h index 624fb60..4895377 100644 --- a/source/format.h +++ b/source/format.h @@ -1,14 +1,7 @@ -/* $Id$ - -This file is part of libmspal -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Diestributed under the LGPL -*/ - #ifndef MSP_AL_FORMAT_H_ #define MSP_AL_FORMAT_H_ -#include +#include "al.h" namespace Msp { namespace AL { @@ -21,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