mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
28 lines
448 B
C++
28 lines
448 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace bell {
|
|
enum class Channels { LEFT, RIGHT, LEFT_RIGHT };
|
|
|
|
enum class SampleRate : uint32_t {
|
|
SR_44100 = 44100,
|
|
SR_48000 = 48000,
|
|
};
|
|
|
|
enum class BitWidth : uint32_t {
|
|
BW_16 = 16,
|
|
BW_24 = 24,
|
|
BW_32 = 32,
|
|
};
|
|
|
|
typedef struct {
|
|
float** data;
|
|
BitWidth bitwidth;
|
|
int numChannels;
|
|
SampleRate sampleRate;
|
|
size_t numSamples;
|
|
} StreamInfo;
|
|
}; // namespace bell
|