add flac test

This commit is contained in:
alexey.lysiuk 2022-09-10 10:53:10 +03:00
parent 9931b88dbf
commit 6777e8949a

11
test/flac.cpp Normal file
View file

@ -0,0 +1,11 @@
#include <FLAC/all.h>
int main()
{
FLAC__StreamDecoder* decoder = FLAC__stream_decoder_new();
AEDI_EXPECT(decoder != nullptr);
AEDI_EXPECT(FLAC__stream_decoder_set_md5_checking(decoder, true));
FLAC__stream_decoder_delete(decoder);
return 0;
}