from UniTAP.dev.ports.modules.earc.earc_tx import EarcTx from .hdrx import HDRX, PortIO, MemoryManager, Capturer class HDRX_eARC(HDRX): """ Main class of `HDRX` object. Inherited from class `RX`. Class describes capabilities of 300th (3XX) series of HDMI devices in Sink (RX - receiver) role with eARC support. Attributes: __earc (EarcTx): object of `EarcTx`. """ def __init__(self, port_io: PortIO, memory_manager: MemoryManager, capturer: Capturer): super().__init__(port_io, memory_manager, capturer) self.__earc = EarcTx(port_io, memory_manager) @property def earc(self) -> EarcTx: """ Should be used to control link capabilities on Sink (RX - receiver) role. Returns: object of `EarcTx` type. """ return self.__earc