diff --git a/src/audio_format.h b/src/audio_format.h index 54514ff93..6373d1e80 100644 --- a/src/audio_format.h +++ b/src/audio_format.h @@ -45,6 +45,7 @@ static inline void audio_format_init(struct audio_format *af, af->sample_rate = sample_rate; af->bits = bits; af->channels = channels; + af->reverse_endian = 0; } static inline bool audio_format_defined(const struct audio_format *af)