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

Method getnframes

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

Source from the content-addressed store, hash-verified

237 return self._framerate
238
239 def getnframes(self):
240 if self._data_size == AUDIO_UNKNOWN_SIZE:
241 return AUDIO_UNKNOWN_SIZE
242 if self._encoding in _simple_encodings:
243 return self._data_size // self._framesize
244 return 0 # XXX--must do some arithmetic here
245
246 def getcomptype(self):
247 if self._encoding == AUDIO_FILE_ENCODING_MULAW_8:

Callers 4

getparamsMethod · 0.95
setposMethod · 0.95
test_aifcFunction · 0.45
test_wavFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_aifcFunction · 0.36
test_wavFunction · 0.36