aboutsummaryrefslogtreecommitdiffstats
path: root/src/nmt/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nmt/main.c')
-rw-r--r--src/nmt/main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/nmt/main.c b/src/nmt/main.c
index 1c3a0e4..9bdc2e8 100644
--- a/src/nmt/main.c
+++ b/src/nmt/main.c
@@ -289,10 +289,12 @@ int main(int argc, char *argv[])
chan_type[i] = CHAN_TYPE_CC_TC;
num_chan_type = num_kanal;
}
- /* set supervisory signal */
- for (i = 0; i < num_kanal; i++)
- supervisory[i] = 0;
- num_supervisory = num_kanal;
+ if (num_supervisory == 0) {
+ /* set supervisory signal */
+ for (i = 0; i < num_kanal; i++)
+ supervisory[i] = (i % 4) + 1;
+ num_supervisory = num_kanal;
+ }
}
if (num_kanal == 1 && num_audiodev == 0)
num_audiodev = 1; /* use default */