mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
Update DAB Demod to use latest DAB API, that fixes #1608
This commit is contained in:
parent
6b2705065b
commit
de7192b6b4
@ -279,12 +279,10 @@ void motDataHandler(uint8_t *data, int len, const char *filename, int contentsub
|
|||||||
sink->motData(data, len, QString::fromUtf8(filename), contentsubType);
|
sink->motData(data, len, QString::fromUtf8(filename), contentsubType);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Missing ctx for tiiDataHandler - https://github.com/JvanKatwijk/dab-cmdline/issues/89
|
void tiiDataHandler(int tii, void *ctx)
|
||||||
DABDemodSink *tiiSink;
|
|
||||||
|
|
||||||
void tiiDataHandler(int tii)
|
|
||||||
{
|
{
|
||||||
tiiSink->tii(tii);
|
DABDemodSink *sink = (DABDemodSink *)ctx;
|
||||||
|
sink->tii(tii);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DABDemodSink::systemData(bool sync, int16_t snr, int32_t freqOffset)
|
void DABDemodSink::systemData(bool sync, int16_t snr, int32_t freqOffset)
|
||||||
@ -523,7 +521,6 @@ DABDemodSink::DABDemodSink(DABDemod *packetDemod) :
|
|||||||
m_api.motdata_Handler = motDataHandler;
|
m_api.motdata_Handler = motDataHandler;
|
||||||
m_api.tii_data_Handler = tiiDataHandler;
|
m_api.tii_data_Handler = tiiDataHandler;
|
||||||
m_api.timeHandler = nullptr;
|
m_api.timeHandler = nullptr;
|
||||||
tiiSink = this;
|
|
||||||
m_dab = dabInit(&m_device,
|
m_dab = dabInit(&m_device,
|
||||||
&m_api,
|
&m_api,
|
||||||
nullptr,
|
nullptr,
|
||||||
|
@ -77,6 +77,12 @@ The statistics areas displays statistics generated by the demodulator that may g
|
|||||||
|
|
||||||
If you are hearing dropouts in audio, try adjusting your antenna in order to improve the reported SNR.
|
If you are hearing dropouts in audio, try adjusting your antenna in order to improve the reported SNR.
|
||||||
|
|
||||||
|
<h3>Transmitter</h3>
|
||||||
|
|
||||||
|
Displays the TII (Transmitter Identification Information) main and sub IDs in hexidecimal, which can identify which transmitter the DAB signal is being primarily received from.
|
||||||
|
Pressing the "Find Transmitter on Map" button will attempt to locate the transmitter with the same IDs and Ensemble name on the [Map](../../feature/map/readme.md) feature.
|
||||||
|
|
||||||
<h2>Attribution</h2>
|
<h2>Attribution</h2>
|
||||||
|
|
||||||
The DAB demodulator used DAB library by Jvan Katwijk.
|
The DAB demodulator uses the DAB library by Jvan Katwijk.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user