EHS
DataType.h
Go to the documentation of this file.
1#pragma once
2
3#include "EHS.h"
4
5namespace ehs
6{
7 enum class DataType : UInt_8
8 {
10 DOUBLE,
11 SINT_64,
12 UINT_64,
13 FLOAT,
14 SINT_32,
15 UINT_32,
16 SINT_24,
17 UINT_24,
18 SINT_16,
19 UINT_16,
20 SINT_8,
21 UINT_8
22 };
23
24 EHS_LIB_IO DataType FromAudioBitDepth(UInt_16 bitDepth);
25
26 EHS_LIB_IO UInt_8 ToByteDepth(DataType type);
27
28 EHS_LIB_IO UInt_8 ToBitDepth(DataType type);
29}
Definition: Anchor.h:6
unsigned char UInt_8
Definition: Types.h:43
EHS_LIB_IO UInt_8 ToByteDepth(DataType type)
Definition: DataType.cpp:22
DataType
Definition: DataType.h:8
unsigned short UInt_16
Definition: Types.h:46
EHS_LIB_IO UInt_8 ToBitDepth(DataType type)
Definition: DataType.cpp:50
EHS_LIB_IO DataType FromAudioBitDepth(UInt_16 bitDepth)
Definition: DataType.cpp:5