diff options
Diffstat (limited to 'examples/pbuilder-test/002_sample.c')
-rw-r--r-- | examples/pbuilder-test/002_sample.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/pbuilder-test/002_sample.c b/examples/pbuilder-test/002_sample.c new file mode 100644 index 0000000..632dbb7 --- /dev/null +++ b/examples/pbuilder-test/002_sample.c @@ -0,0 +1,17 @@ +/* + This is a file used by 002_libfile example. + + test code to test that libecasoundc can be compiled + */ +#include <stdio.h> +#include <ecasoundc.h> + +int main() +{ + printf("hello world\n"); + eci_init(); + eci_command("engine-status"); + printf("%s\n", eci_last_string()); + eci_cleanup(); + return 0; +} |