Added Audio(const Str_8& filePath, DataType type) to force a specific data type.

This commit is contained in:
2024-02-20 22:52:40 -08:00
parent 93f881cf03
commit 58f624a18a
2 changed files with 25 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ namespace ehs
Audio(const Str_8& filePath);
Audio(const Str_8& filePath, DataType type);
Audio(Str_8 id, UInt_64 sampleRate, DataType dataType, UInt_8 channels, UInt_64 frames, const Byte* data);
Audio(Str_8 id, UInt_64 sampleRate, DataType dataType, UInt_8 channels, const Serializer<UInt_64>& data);