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

Method getcompname

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

Source from the content-addressed store, hash-verified

398 return self._comptype
399
400 def getcompname(self):
401 if self._comptype == 'ULAW':
402 return 'CCITT G.711 u-law'
403 elif self._comptype == 'ALAW':
404 return 'CCITT G.711 A-law'
405 else:
406 return 'not compressed'
407
408 def setparams(self, params):
409 nchannels, sampwidth, framerate, nframes, comptype, compname = params

Callers 1

getparamsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected