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

Method setnchannels

tools/python-3.11.9-amd64/Lib/aifc.py:634–639  ·  view source on GitHub ↗
(self, nchannels)

Source from the content-addressed store, hash-verified

632 self._aifc = 1
633
634 def setnchannels(self, nchannels):
635 if self._nframeswritten:
636 raise Error('cannot change parameters after starting to write')
637 if nchannels < 1:
638 raise Error('bad # of channels')
639 self._nchannels = nchannels
640
641 def getnchannels(self):
642 if not self._nchannels:

Callers 1

setparamsMethod · 0.95

Calls 1

ErrorClass · 0.70

Tested by

no test coverage detected