audio_format, output_thread: add more audio_format_valid() assertions
This commit is contained in:
@@ -192,6 +192,7 @@ audio_format_parse(struct audio_format *dest, const char *src,
|
||||
}
|
||||
|
||||
audio_format_init(dest, rate, sample_format, channels);
|
||||
assert(audio_format_valid(dest));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user