mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-09 02:48:07 +08:00
ggwave-wasm : minor fix
This commit is contained in:
@@ -13,7 +13,9 @@ int main(int , char** argv) {
|
||||
printf("Build time: %s\n", BUILD_TIMESTAMP);
|
||||
printf("Press the Init button to start\n");
|
||||
|
||||
GGWave_setDefaultCaptureDeviceName(argv[1]);
|
||||
if (argv[1]) {
|
||||
GGWave_setDefaultCaptureDeviceName(argv[1]);
|
||||
}
|
||||
|
||||
emscripten_set_main_loop(update, 60, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user