Lines Matching refs:nframes
109 'nchannels sampwidth framerate nframes comptype compname')
267 def readframes(self, nframes):
269 if nframes == AUDIO_UNKNOWN_SIZE:
272 data = self._file.read(nframes * self._framesize)
373 def setnframes(self, nframes):
376 if nframes < 0:
378 self._nframes = nframes
401 nchannels, sampwidth, framerate, nframes, comptype, compname = params
405 self.setnframes(nframes)
423 nframes = len(data) // self._framesize
425 self._nframeswritten = self._nframeswritten + nframes