MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / getcompname

Method getcompname

tools/python-3.11.9-amd64/Lib/sunau.py:254–260  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

252 return 'NONE'
253
254 def getcompname(self):
255 if self._encoding == AUDIO_FILE_ENCODING_MULAW_8:
256 return 'CCITT G.711 u-law'
257 elif self._encoding == AUDIO_FILE_ENCODING_ALAW_8:
258 return 'CCITT G.711 A-law'
259 else:
260 return 'not compressed'
261
262 def getparams(self):
263 return _sunau_params(self.getnchannels(), self.getsampwidth(),

Callers 1

getparamsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected