32 virtual void ChangeFile(
const std::filesystem::path& newFilePath) = 0;
66 virtual bool Seek(
size_t frameIndex) = 0;
#define HEPH_API
Definition HephShared.h:132
class for storing the audio samples in internal format.
Definition AudioBuffer.h:16
stores encoded audio data.
Definition EncodedAudioBuffer.h:15
interface for the audio decoders.
Definition IAudioDecoder.h:16
virtual AudioFormatInfo GetOutputFormatInfo() const =0
virtual size_t GetFrameCount() const =0
virtual bool Seek(size_t frameIndex)=0
virtual AudioBuffer Decode()=0
virtual AudioBuffer Decode(size_t frameIndex, size_t frameCount)=0
virtual AudioBuffer Decode(size_t frameCount)=0
virtual AudioBuffer Decode(const EncodedAudioBuffer &encodedBuffer)=0
virtual bool IsFileOpen() const =0
virtual ~IAudioDecoder()=default
virtual void ChangeFile(const std::filesystem::path &newFilePath)=0
std::filesystem::path filePath
Definition IAudioDecoder.h:22
virtual void CloseFile()=0