#ifndef _AUDIO_ENCODER_H
#define _AUDIO_ENCODER_H 1
+#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <string>
~AudioEncoder();
void add_mux(Mux *mux) { // Does not take ownership.
+ assert(mux != nullptr);
muxes.push_back(mux);
}
void encode_audio(const std::vector<float> &audio, int64_t audio_pts);