Audio Device Scenario#
- class AudioScenario(*args, **kwargs)#
Bases:
PhysicalScenario
[AudioDevice
]Scenario of phyical device bindings to sound cards.
- Parameters:
seed (int, optional) – Random seed used to initialize the pseudo-random number generator.
devices (List[Device], optional) – Devices to be added to the scenario during initialization.
- yaml_tag = 'AudioSystem'#
- new_device(*args, **kwargs)#
Create a new UHD device managed by the system.
- Parameters:
*args – Device initialization parameters. Refer to
AudioDevice
for further details.**kwargs –
Device initialization parameters. Refer to
AudioDevice
for further details.
- Return type:
Returns: A handle to the initialized device.