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

Method setFilename

interface/vstream/python/vsi_audio.py:113–124  ·  view source on GitHub ↗

Set the filename for the audio stream on the server. Args: filename: The name of the file to set on the server. Returns: True if the filename is valid, False otherwise.

(self, filename)

Source from the content-addressed store, hash-verified

111 return device_index
112
113 def setFilename(self, filename):
114 """
115 Set the filename for the audio stream on the server.
116 Args:
117 filename: The name of the file to set on the server.
118 Returns:
119 True if the filename is valid, False otherwise.
120 """
121 self.conn.send([self.SET_FILENAME, getcwd(), filename])
122 filename_valid = self.conn.recv()
123
124 return filename_valid
125
126 def configureStream(self, channels, sample_rate, sample_bits):
127 """

Callers 1

wrFILENAMEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected