MCPcopy Create free account
hub / github.com/ARM-software/AVH / setDevice

Method setDevice

interface/vstream/python/vsi_audio.py:100–111  ·  view source on GitHub ↗

Set the audio streaming device index (input/output). Args: device: The device index value to set on the server. Returns: Device index actually set.

(self, device)

Source from the content-addressed store, hash-verified

98 return current_mode
99
100 def setDevice(self, device):
101 """
102 Set the audio streaming device index (input/output).
103 Args:
104 device: The device index value to set on the server.
105 Returns:
106 Device index actually set.
107 """
108 self.conn.send([self.SET_DEVICE, device])
109 device_index = self.conn.recv()
110
111 return device_index
112
113 def setFilename(self, filename):
114 """

Callers 1

wrDEVICEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected