Lines Matching refs:nframes
227 def readframes(self, nframes):
234 if nframes == 0:
244 nitems = nframes * self._nchannels
256 data = self._data_chunk.read(nframes * self._framesize)
371 def setnframes(self, nframes):
374 self._nframes = nframes
394 nchannels, sampwidth, framerate, nframes, comptype, compname = params
400 self.setnframes(nframes)
423 nframes = len(data) // (self._sampwidth * self._nchannels)
440 self._nframeswritten = self._nframeswritten + nframes