mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
vuplus: dvb wait delay for ci response
This commit is contained in:
@@ -1934,3 +1934,18 @@ void cCA::SetTSClock(u32 Speed, int slot)
|
|||||||
fclose(ci);
|
fclose(ci);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if BOXMODEL_VUPLUS_ALL
|
||||||
|
void cCA::SetCIDelay(int Delay)
|
||||||
|
{
|
||||||
|
char buf[64];
|
||||||
|
snprintf(buf, 64, "/proc/stb/tsmux/rmx_delay");
|
||||||
|
FILE *ci = fopen(buf, "wb");
|
||||||
|
printf("%s -> %s to: %i\n", FILENAME, __func__, Delay);
|
||||||
|
if (ci)
|
||||||
|
{
|
||||||
|
fprintf(ci, "%i", Delay);
|
||||||
|
fclose(ci);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
@@ -328,6 +328,12 @@ public:
|
|||||||
/// Sets the frequency (in Hz) of the TS stream input (only valid for CI)
|
/// Sets the frequency (in Hz) of the TS stream input (only valid for CI)
|
||||||
/// sh4 unused
|
/// sh4 unused
|
||||||
void SetTSClock(u32 Speed, int slot = 0);
|
void SetTSClock(u32 Speed, int slot = 0);
|
||||||
|
|
||||||
|
#if BOXMODEL_VUPLUS_ALL
|
||||||
|
/// dvb wait delay for ci response
|
||||||
|
void SetCIDelay(int Delay);
|
||||||
|
#endif
|
||||||
|
|
||||||
/// Start the CA module
|
/// Start the CA module
|
||||||
/// sh4 unused
|
/// sh4 unused
|
||||||
bool Start(void);
|
bool Start(void);
|
||||||
|
Reference in New Issue
Block a user