EHS/include/DataType.h

29 lines
362 B
C
Raw Normal View History

2023-12-17 03:29:08 -08:00
#pragma once
#include "EHS.h"
2023-12-17 15:56:13 -08:00
namespace ehs
2023-12-17 03:29:08 -08:00
{
enum class DataType : UInt_8
{
LDOUBLE,
DOUBLE,
SINT_64,
UINT_64,
FLOAT,
SINT_32,
UINT_32,
SINT_24,
UINT_24,
SINT_16,
UINT_16,
SINT_8,
UINT_8
};
DataType FromAudioBitDepth(const UInt_16 bitDepth);
UInt_8 ToByteDepth(const DataType type);
UInt_8 ToBitDepth(const DataType type);
}