NMT: Rework on frame (message) types

This commit is contained in:
Andreas Eversberg
2016-07-20 07:51:28 +02:00
parent 8906deb5dd
commit efb50532c6
3 changed files with 174 additions and 141 deletions

View File

@@ -323,7 +323,11 @@ int main(int argc, char *argv[])
return -1;
}
}
init_frame();
rc = init_frame();
if (rc < 0) {
fprintf(stderr, "Failed to setup frames. Quitting!\n");
return -1;
}
dsp_init();
rc = call_init(station_id, call_sounddev, samplerate, latency, 7, loopback);
if (rc < 0) {