Lines Matching refs:nchannels
28 def check_params(self, f, nchannels, sampwidth, framerate, nframes, argument
30 self.assertEqual(f.getnchannels(), nchannels)
39 (nchannels, sampwidth, framerate, nframes, comptype, compname))
40 self.assertEqual(params.nchannels, nchannels)
56 f.setnchannels(self.nchannels)
64 self.assertEqual(f.getnchannels(), self.nchannels)
74 self.check_params(f, self.nchannels, self.sampwidth, self.framerate,
92 f.setnchannels(self.nchannels)
101 self.assertEqual(params.nchannels, self.nchannels)
112 f.setnchannels(self.nchannels)
119 self.assertEqual(params.nchannels, self.nchannels)
174 framesize = self.nchannels * self.sampwidth
245 framesize = self.nchannels * self.sampwidth
258 self.check_params(f, self.nchannels, self.sampwidth, self.framerate,
276 framesize = self.nchannels * self.sampwidth
325 self.assertEqual(f.getnchannels(), self.nchannels)