Lines Matching refs:nchannels
51 def check_params(self, f, nchannels, sampwidth, framerate, nframes, argument
53 self.assertEqual(f.getnchannels(), nchannels)
62 (nchannels, sampwidth, framerate, nframes, comptype, compname))
73 f.setnchannels(self.nchannels)
82 self.assertEqual(f.getnchannels(), self.nchannels)
94 self.check_params(f, self.nchannels, self.sampwidth, self.framerate,
123 framesize = self.nchannels * self.sampwidth
197 framesize = self.nchannels * self.sampwidth
210 self.check_params(f, self.nchannels, self.sampwidth, self.framerate,
228 framesize = self.nchannels * self.sampwidth
278 self.assertEqual(f.getnchannels(), self.nchannels)