Lines Matching refs:nchannels
29 def check_params(self, f, nchannels, sampwidth, framerate, nframes, argument
31 self.assertEqual(f.getnchannels(), nchannels)
40 (nchannels, sampwidth, framerate, nframes, comptype, compname))
41 self.assertEqual(params.nchannels, nchannels)
57 f.setnchannels(self.nchannels)
65 self.assertEqual(f.getnchannels(), self.nchannels)
75 self.check_params(f, self.nchannels, self.sampwidth, self.framerate,
93 f.setnchannels(self.nchannels)
102 self.assertEqual(params.nchannels, self.nchannels)
113 f.setnchannels(self.nchannels)
120 self.assertEqual(params.nchannels, self.nchannels)
175 framesize = self.nchannels * self.sampwidth
246 framesize = self.nchannels * self.sampwidth
259 self.check_params(f, self.nchannels, self.sampwidth, self.framerate,
277 framesize = self.nchannels * self.sampwidth
326 self.assertEqual(f.getnchannels(), self.nchannels)