EHS/include/ehs/DataType.h
Karutoh bcd71cf2b5
All checks were successful
Build & Release / Windows-AMD64-Build (push) Successful in 1m8s
Build & Release / Linux-AMD64-Build (push) Successful in 1m30s
Build & Release / Linux-AARCH64-Build (push) Successful in 3m21s
Adjusted workflow.
2024-02-05 22:25:30 -08:00

29 lines
344 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
};
DataType FromAudioBitDepth(UInt_16 bitDepth);
UInt_8 ToByteDepth(DataType type);
UInt_8 ToBitDepth(DataType type);
}