blob: a34f4129b2e83f1661d81989c93c77b60bc444bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef WAV_INPUT_LOADER_HPP
#define WAV_INPUT_LOADER_HPP
#include <vector>
#include <QString>
#include <QDateTime>
namespace Radio
{
struct WavInputResult
{
std::vector<short> samples;
QString fileDateTime;
QDateTime firstSampleUtc;
quint64 samplesSinceMidnight {0};
int timeReferenceRate {0};
int frames {0};
int nutc {0};
int yymmdd {0};
bool valid {false};
};
WavInputResult load_wav_input (QString const& name, int sample_limit);
}
#endif // WAV_INPUT_LOADER_HPP
|