Add tab for loop station
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <QAudioFormat>
|
||||
|
||||
#include <array>
|
||||
|
||||
static constexpr int frameRate = 44100;
|
||||
static constexpr int channelCount = 2;
|
||||
static constexpr int sampleSize = 32;
|
||||
@@ -9,6 +11,6 @@ static constexpr auto codec = "audio/pcm";
|
||||
static constexpr QAudioFormat::Endian byteOrder = QAudioFormat::LittleEndian;
|
||||
static constexpr QAudioFormat::SampleType sampleType = QAudioFormat::Float;
|
||||
using sample_t = float;
|
||||
using frame_t = std::array<sample_t, channelCount>;
|
||||
struct frame_t : std::array<sample_t, channelCount> {};
|
||||
|
||||
const QAudioFormat &audioFormat();
|
||||
|
Reference in New Issue
Block a user