mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
add mpg123 test
This commit is contained in:
parent
ec07b62756
commit
cba6728672
1 changed files with 11 additions and 0 deletions
11
test/libmpg123.cpp
Normal file
11
test/libmpg123.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue