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

Method initfp

tools/python-3.11.9-amd64/Lib/aifc.py:595–610  ·  view source on GitHub ↗
(self, file)

Source from the content-addressed store, hash-verified

593 self.initfp(f)
594
595 def initfp(self, file):
596 self._file = file
597 self._version = _AIFC_version
598 self._comptype = b'NONE'
599 self._compname = b'not compressed'
600 self._convert = None
601 self._nchannels = 0
602 self._sampwidth = 0
603 self._framerate = 0
604 self._nframes = 0
605 self._nframeswritten = 0
606 self._datawritten = 0
607 self._datalength = 0
608 self._markers = []
609 self._marklength = 0
610 self._aifc = 1 # AIFF-C is default
611
612 def __del__(self):
613 self.close()

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected