diff options
author | Chris Robinson <[email protected]> | 2010-11-28 23:07:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-11-28 23:07:57 -0800 |
commit | eb489ac886416fb9b234458a357039c328ba11a5 (patch) | |
tree | 4cc3811586d447ccd750ac0286557b16003d021e /OpenAL32/Include/alBuffer.h | |
parent | 986628b8b202c497f876f94135d5d6b855f7541f (diff) |
Store double formats as float
The mixer will cut it down to float anyway, so it's unnecessary and needlessly
creates more mixer functions
Diffstat (limited to 'OpenAL32/Include/alBuffer.h')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 1347eebd..8230f2b0 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -70,7 +70,6 @@ enum FmtType { FmtUByte, FmtShort, FmtFloat, - FmtDouble, }; enum FmtChannels { FmtMono, @@ -91,7 +90,6 @@ static __inline ALuint BytesFromFmt(enum FmtType type) case FmtUByte: return sizeof(ALubyte); case FmtShort: return sizeof(ALshort); case FmtFloat: return sizeof(ALfloat); - case FmtDouble: return sizeof(ALdouble); } return 0; } |