diff options
author | XANTRONIX Development | 2022-02-27 10:49:27 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-27 10:49:27 -0500 |
commit | ff6126d37d950b233a9d275f0fdba1c0de8d2466 (patch) | |
tree | 10886685fe606349a21f6ba41c215656ab471251 /src | |
parent | 699ddb5f2f4d2a85f23cdae3560898b2b6798812 (diff) | |
download | xas-ff6126d37d950b233a9d275f0fdba1c0de8d2466.tar.gz xas-ff6126d37d950b233a9d275f0fdba1c0de8d2466.tar.bz2 xas-ff6126d37d950b233a9d275f0fdba1c0de8d2466.zip |
i'm a little biscuit head :333
Diffstat (limited to 'src')
-rw-r--r-- | src/vox.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -420,8 +420,7 @@ int xas_vox_generate(xas_vox *vox) { goto error_riff_open_fd; } - if (output->format.sample_size != vox->format.sample_size - || output->format.sample_rate != vox->format.sample_rate) { + if (!xas_audio_format_eq(output->format, vox->format)) { errno = EINVAL; goto error_invalid_stream; |