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

Method setpos

tools/python-3.11.9-amd64/Lib/wave.py:347–351  ·  view source on GitHub ↗
(self, pos)

Source from the content-addressed store, hash-verified

345 raise Error('no marks')
346
347 def setpos(self, pos):
348 if pos < 0 or pos > self._nframes:
349 raise Error('position not in range')
350 self._soundpos = pos
351 self._data_seek_needed = 1
352
353 def readframes(self, nframes):
354 if self._data_seek_needed:

Callers

nothing calls this directly

Calls 1

ErrorClass · 0.70

Tested by

no test coverage detected