Fork of Tangara with customizations
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include <optional>
|
|
|
|
#include <string>
|
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
#include "cbor.h"
|
|
|
|
#include "result.hpp"
|
|
|
|
#include "sys/_stdint.h"
|
|
|
|
|
|
|
|
namespace audio {
|
|
|
|
|
|
|
|
struct StreamInfo {
|
|
|
|
std::optional<std::string> path;
|
|
|
|
std::optional<uint8_t> channels;
|
|
|
|
std::optional<uint8_t> bits_per_sample;
|
|
|
|
std::optional<uint16_t> sample_rate;
|
|
|
|
std::optional<size_t> chunk_size;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace audio
|