score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
SndfileDecoder.hpp
1
#pragma once
2
3
#include <Media/AudioArray.hpp>
4
#include <Media/AudioDecoder.hpp>
5
6
namespace
Media
7
{
8
class
SndfileDecoder
9
{
10
public
:
11
SndfileDecoder
();
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
}
Media::SndfileDecoder
Definition
SndfileDecoder.hpp:9