| 55 | // ======================================================================= |
| 56 | |
| 57 | Frontend::Frontend( |
| 58 | int streamID, |
| 59 | const std::string &appDataPath, |
| 60 | const std::string &fe, |
| 61 | const std::string &dvr, |
| 62 | const std::string &dmx) : |
| 63 | Device(streamID), |
| 64 | _tuned(false), |
| 65 | _fd_fe(-1), |
| 66 | _fd_dmx(-1), |
| 67 | _path_to_fe(fe), |
| 68 | _path_to_dvr(dvr), |
| 69 | _path_to_dmx(dmx), |
| 70 | _transform(appDataPath, _transformFrontendData), |
| 71 | _dvbs2(0), |
| 72 | _dvbt(0), |
| 73 | _dvbt2(0), |
| 74 | _dvbc(0), |
| 75 | _dvbc2(0), |
| 76 | _dvrBufferSizeMB(DEFAULT_DVR_BUFFER_SIZE) { |
| 77 | snprintf(_fe_info.name, sizeof(_fe_info.name), "Not Set"); |
| 78 | setupFrontend(); |
| 79 | #if FULL_DVB_API_VERSION >= 0x050A |
| 80 | _oldApiCallStats = false; |
| 81 | #else |
| 82 | _oldApiCallStats = true; |
| 83 | #endif |
| 84 | } |
| 85 | |
| 86 | Frontend::~Frontend() {} |
| 87 |
nothing calls this directly
no outgoing calls
no test coverage detected