SRS 6.0-b0 源码 + danmaku 后端(排除 objs/3rdparty/测试媒体)
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
g++ hello-world.cpp ../../objs/st/libst.a -g -O0 -o hello-world && ./hello-world
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include "../../objs/st/st.h"
|
||||
|
||||
void foo() {
|
||||
st_init();
|
||||
|
||||
for (int i = 0; ; i++) {
|
||||
st_sleep(1);
|
||||
printf("#%d: main: working\n", i);
|
||||
}
|
||||
}
|
||||
|
||||
int main() {
|
||||
foo();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user