diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-03 21:16:59 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-03 21:16:59 +0000 |
| commit | 391f7559e77cf98ea3b5a1fba94a8fa6f4307da8 (patch) | |
| tree | ca83b3a1d5735027688b0f477c8d46262145336e /lib/service/servicedvb.cpp | |
| parent | 36940d42cf3cc58b40a5a6f5fe86bad50ff48ad7 (diff) | |
| download | enigma2-391f7559e77cf98ea3b5a1fba94a8fa6f4307da8.tar.gz enigma2-391f7559e77cf98ea3b5a1fba94a8fa6f4307da8.zip | |
add support for read signal quality, power and biterror rate from python
Diffstat (limited to 'lib/service/servicedvb.cpp')
| -rw-r--r-- | lib/service/servicedvb.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index 96f942ab..9e77a7a7 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -681,6 +681,12 @@ RESULT eDVBServicePlay::getPlayPosition(pts_t &pos) return pvr_channel->getCurrentPosition(demux, pos); } +RESULT eDVBServicePlay::frontendStatusInfo(ePtr<iFrontendStatusInformation> &ptr) +{ + ptr = this; + return 0; +} + RESULT eDVBServicePlay::info(ePtr<iServiceInformation> &ptr) { ptr = this; @@ -811,6 +817,17 @@ int eDVBServicePlay::selectAudioStream(int i) return 0; } +int eDVBServicePlay::getFrontendInfo(int w) +{ + eUsePtr<iDVBChannel> channel; + if(m_service_handler.getChannel(channel)) + return 0; + ePtr<iDVBFrontend> fe; + if(channel->getFrontend(fe)) + return 0; + return fe->readFrontendData(w); +} + DEFINE_REF(eDVBServicePlay) eAutoInitPtr<eServiceFactoryDVB> init_eServiceFactoryDVB(eAutoInitNumbers::service+1, "eServiceFactoryDVB"); |
