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

Method setparams

tools/python-3.11.9-amd64/Lib/sunau.py:408–414  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

406 return 'not compressed'
407
408 def setparams(self, params):
409 nchannels, sampwidth, framerate, nframes, comptype, compname = params
410 self.setnchannels(nchannels)
411 self.setsampwidth(sampwidth)
412 self.setframerate(framerate)
413 self.setnframes(nframes)
414 self.setcomptype(comptype, compname)
415
416 def getparams(self):
417 return _sunau_params(self.getnchannels(), self.getsampwidth(),

Callers

nothing calls this directly

Calls 5

setnchannelsMethod · 0.95
setsampwidthMethod · 0.95
setframerateMethod · 0.95
setnframesMethod · 0.95
setcomptypeMethod · 0.95

Tested by

no test coverage detected