mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Renamed threads and ringbuffers.
This commit is contained in:
parent
2d997b3fdd
commit
629c4ff378
2
device.c
2
device.c
@ -28,7 +28,7 @@ cSatipDevice::cSatipDevice(unsigned int indexP)
|
|||||||
bufsize -= (bufsize % TS_SIZE);
|
bufsize -= (bufsize % TS_SIZE);
|
||||||
info("Creating SATIP device CardIndex=%d [device %u]", CardIndex(), deviceIndexM);
|
info("Creating SATIP device CardIndex=%d [device %u]", CardIndex(), deviceIndexM);
|
||||||
tsBufferM = new cRingBufferLinear(bufsize + 1, TS_SIZE, false,
|
tsBufferM = new cRingBufferLinear(bufsize + 1, TS_SIZE, false,
|
||||||
*cString::sprintf("SATIP %d TS", deviceIndexM));
|
*cString::sprintf("SATIP#%d TS", deviceIndexM));
|
||||||
if (tsBufferM) {
|
if (tsBufferM) {
|
||||||
tsBufferM->SetTimeouts(10, 10);
|
tsBufferM->SetTimeouts(10, 10);
|
||||||
tsBufferM->SetIoThrottle();
|
tsBufferM->SetIoThrottle();
|
||||||
|
@ -232,7 +232,7 @@ bool cSatipSectionFilter::Send(void)
|
|||||||
|
|
||||||
|
|
||||||
cSatipSectionFilterHandler::cSatipSectionFilterHandler(int deviceIndexP, unsigned int bufferLenP)
|
cSatipSectionFilterHandler::cSatipSectionFilterHandler(int deviceIndexP, unsigned int bufferLenP)
|
||||||
: cThread(cString::sprintf("SATIP %d section handler", deviceIndexP)),
|
: cThread(cString::sprintf("SATIP#%d section handler", deviceIndexP)),
|
||||||
ringBufferM(new cRingBufferLinear(bufferLenP, TS_SIZE, false, *cString::sprintf("SATIP %d section handler", deviceIndexP))),
|
ringBufferM(new cRingBufferLinear(bufferLenP, TS_SIZE, false, *cString::sprintf("SATIP %d section handler", deviceIndexP))),
|
||||||
mutexM(),
|
mutexM(),
|
||||||
deviceIndexM(deviceIndexP)
|
deviceIndexM(deviceIndexP)
|
||||||
|
2
tuner.c
2
tuner.c
@ -16,7 +16,7 @@
|
|||||||
#include "tuner.h"
|
#include "tuner.h"
|
||||||
|
|
||||||
cSatipTuner::cSatipTuner(cSatipDeviceIf &deviceP, unsigned int packetLenP)
|
cSatipTuner::cSatipTuner(cSatipDeviceIf &deviceP, unsigned int packetLenP)
|
||||||
: cThread(cString::sprintf("SATIP %d tuner", deviceP.GetId())),
|
: cThread(cString::sprintf("SATIP#%d tuner", deviceP.GetId())),
|
||||||
sleepM(),
|
sleepM(),
|
||||||
deviceM(&deviceP),
|
deviceM(&deviceP),
|
||||||
deviceIdM(deviceP.GetId()),
|
deviceIdM(deviceP.GetId()),
|
||||||
|
Loading…
Reference in New Issue
Block a user