29 lines
377 B
C++
29 lines
377 B
C++
#pragma once
|
|
|
|
#include "EHS.h"
|
|
|
|
namespace ehs
|
|
{
|
|
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
|
|
};
|
|
|
|
EHS_LIB_IO DataType FromAudioBitDepth(UInt_16 bitDepth);
|
|
|
|
EHS_LIB_IO UInt_8 ToByteDepth(DataType type);
|
|
|
|
EHS_LIB_IO UInt_8 ToBitDepth(DataType type);
|
|
} |