Rework of displaying supervisory info: NMT and AMPS
Using lower rate to show debug info of supervisory signal. Display supervisory info for NMT and AMPS at measurement display screen.
This commit is contained in:
@@ -571,20 +571,13 @@ int amps_create(int channel, enum amps_chan_type chan_type, const char *audiodev
|
||||
goto error;
|
||||
}
|
||||
|
||||
/* init audio processing */
|
||||
rc = dsp_init_sender(amps, tolerant);
|
||||
if (rc < 0) {
|
||||
PDEBUG(DAMPS, DEBUG_ERROR, "Failed to init audio processing!\n");
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (polarity < 0)
|
||||
amps->flip_polarity = 1;
|
||||
|
||||
amps->chan_type = chan_type;
|
||||
memcpy(&s->si, si, sizeof(amps->si));
|
||||
amps->sat = sat;
|
||||
|
||||
if (polarity < 0)
|
||||
amps->flip_polarity = 1;
|
||||
|
||||
amps->pre_emphasis = pre_emphasis;
|
||||
amps->de_emphasis = de_emphasis;
|
||||
/* the AMPS uses a frequency rage of 300..3000 Hz, but we still use the default low pass filter, wich is not too far above */
|
||||
@@ -592,6 +585,13 @@ int amps_create(int channel, enum amps_chan_type chan_type, const char *audiodev
|
||||
if (rc < 0)
|
||||
goto error;
|
||||
|
||||
/* init audio processing */
|
||||
rc = dsp_init_sender(amps, tolerant);
|
||||
if (rc < 0) {
|
||||
PDEBUG(DAMPS, DEBUG_ERROR, "Failed to init audio processing!\n");
|
||||
goto error;
|
||||
}
|
||||
|
||||
/* go into idle state */
|
||||
amps_go_idle(amps);
|
||||
|
||||
|
Reference in New Issue
Block a user