mtx::common::AudioInfo struct

Audio clip metadata.

Public variables

uint64_t size
The size of the audio clip in bytes.
uint64_t duration
The duration of the audio in milliseconds.
std::string mimetype
The mimetype of the audio e.g. audio/aac.

Friends

auto from_json(const nlohmann::json& obj, AudioInfo& info) -> void
Deserialization method needed by nlohmann::json.
auto to_json(nlohmann::json& obj, const AudioInfo& info) -> void
Serialization method needed by nlohmann::json.