mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-26 22:01:25 +00:00
add flac test
This commit is contained in:
parent
9931b88dbf
commit
6777e8949a
1 changed files with 11 additions and 0 deletions
11
test/flac.cpp
Normal file
11
test/flac.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue