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

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