Loading...
Searching...
No Matches
SndfileDecoder.hpp
1#pragma once
2
3#include <Media/AudioArray.hpp>
4#include <Media/AudioDecoder.hpp>
5
6namespace Media
7{
9{
10public:
12
13 void decode(const QString& path, audio_handle hdl);
14 static std::optional<AudioInfo> do_probe(const QString& path);
15
16 int32_t fileSampleRate{};
17 int32_t convertedSampleRate{};
18 int32_t channels{};
19 std::size_t decoded{};
20};
21}
Definition SndfileDecoder.hpp:9