Files
recycled-ni-libstb-hal/libtest.cpp
martii fa45cac121 libeplayer3: get rid of compiler warnings
Origin commit data
------------------
Branch: master
Commit: 9d4502b7fe
Author: martii <m4rtii@gmx.de>
Date: 2013-06-10 (Mon, 10 Jun 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-06-10 15:06:00 +02:00

26 lines
478 B
C++

/* minimal test program for libstb-hal
* (C) 2012 Stefan Seyfried
* License: GPL v2 or later
*
* this does just test the input converter thread for now...
*/
#include <config.h>
#include <unistd.h>
#include <include/init_td.h>
int main(int argc __attribute__((unused)), char ** argv __attribute__((unused)))
{
init_td_api();
while (1) {
sleep(1);
if (! access("/tmp/endtest", R_OK))
{
unlink("/tmp/endtest");
break;
}
};
shutdown_td_api();
return 0;
}