add mpg123 test

This commit is contained in:
alexey.lysiuk 2020-12-26 11:39:44 +02:00
parent ec07b62756
commit cba6728672
1 changed files with 11 additions and 0 deletions

11
test/libmpg123.cpp Normal file
View File

@ -0,0 +1,11 @@
#include <mpg123.h>
int main(int argc, char **argv)
{
mpg123_init();
mpg123_handle* mh = mpg123_new(NULL, NULL);
mpg123_param(mh, MPG123_VERBOSE, 1, 0.);
mpg123_delete(mh);
mpg123_exit();
return 0;
}