mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
streaminfo: fix merge error
Origin commit data
------------------
Commit: 11eac4a843
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-06 (Mon, 06 Nov 2017)
Origin message was:
------------------
- streaminfo: fix merge error
This commit is contained in:
@@ -157,32 +157,6 @@ int CStreamInfo2::doSignalStrengthLoop ()
|
|||||||
int dx1 = x + 10;
|
int dx1 = x + 10;
|
||||||
ts_setup ();
|
ts_setup ();
|
||||||
while (1) {
|
while (1) {
|
||||||
neutrino_msg_data_t data;
|
|
||||||
|
|
||||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd_MS (100);
|
|
||||||
g_RCInput->getMsgAbsoluteTimeout (&msg, &data, &timeoutEnd);
|
|
||||||
|
|
||||||
if ((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetFadeTimer()))
|
|
||||||
{
|
|
||||||
if (fader.FadeDone())
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (fadeout && msg == CRCInput::RC_timeout)
|
|
||||||
{
|
|
||||||
if (fader.StartFadeOut())
|
|
||||||
{
|
|
||||||
msg = 0;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!mp) {
|
if (!mp) {
|
||||||
signal.sig = frontend->getSignalStrength() & 0xFFFF;
|
signal.sig = frontend->getSignalStrength() & 0xFFFF;
|
||||||
signal.snr = frontend->getSignalNoiseRatio() & 0xFFFF;
|
signal.snr = frontend->getSignalNoiseRatio() & 0xFFFF;
|
||||||
@@ -258,6 +232,7 @@ int CStreamInfo2::doSignalStrengthLoop ()
|
|||||||
signal.old_snr = signal.snr;
|
signal.old_snr = signal.snr;
|
||||||
signal.old_ber = signal.ber;
|
signal.old_ber = signal.ber;
|
||||||
|
|
||||||
|
neutrino_msg_data_t data;
|
||||||
/* rate limiting is done in update_rate */
|
/* rate limiting is done in update_rate */
|
||||||
g_RCInput->getMsg_us(&msg, &data, 0);
|
g_RCInput->getMsg_us(&msg, &data, 0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user