Lines Matching refs:_nchannels
338 if self._nchannels == 1:
340 elif self._nchannels == 2:
381 return self._nchannels
436 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth)
447 return self._decomp.Decompress(len(data) // self._nchannels,
464 self._nchannels = _read_short(chunk)
468 self._framesize = self._nchannels * self._sampwidth
596 self._nchannels = 0
629 self._nchannels = nchannels
632 if not self._nchannels:
634 return self._nchannels
700 if not self._nchannels or not self._sampwidth or not self._framerate:
702 return self._nchannels, self._sampwidth, self._framerate, \
734 nframes = len(data) // (self._sampwidth * self._nchannels)
805 if not self._nchannels:
840 if self._nchannels == 1:
842 elif self._nchannels == 2:
856 self._nframes = initlength // (self._nchannels * self._sampwidth)
857 self._datalength = self._nframes * self._nchannels * self._sampwidth
883 _write_short(self._file, self._nchannels)