ClikaRT::io::AudioTrack
struct
Header: ClikaRT/io/video.h
The audio track a clip carries beside its frames: sample_rate in Hz, channels (1 mono, 2 stereo, ...) and the audio codec; an empty codec picks the container's default encoder (AAC in an MP4). Declared at VideoWriter::open; the samples arrive through write_audio and are written with the frames at close, so one file carries the clip and its sound.
Data members
sample_rate
std::int32_t sample_rate = 0
Declared in ClikaRT/io/video.h, line 152
channels
std::int32_t channels = 0
Declared in ClikaRT/io/video.h, line 153
codec
std::string codec
Declared in ClikaRT/io/video.h, line 154