[docs]classAudioScenario(PhysicalScenario[AudioDevice]):"""Scenario of phyical device bindings to sound cards."""yaml_tag="AudioSystem"def__init__(self,*args,**kwargs)->None:PhysicalScenario.__init__(self,*args,**kwargs)
[docs]defnew_device(self,*args,**kwargs)->AudioDevice:"""Create a new UHD device managed by the system. Args: *args, \**kwargs: Device initialization parameters. Refer to :class:`AudioDevice` for further details. Returns: A handle to the initialized device. """device=AudioDevice(*args,**kwargs)self.add_device(device)returndevice