Lines Matching refs:sampwidth
29 def check_params(self, f, nchannels, sampwidth, framerate, nframes, argument
32 self.assertEqual(f.getsampwidth(), sampwidth)
40 (nchannels, sampwidth, framerate, nframes, comptype, compname))
42 self.assertEqual(params.sampwidth, sampwidth)
58 f.setsampwidth(self.sampwidth)
66 self.assertEqual(f.getsampwidth(), self.sampwidth)
75 self.check_params(f, self.nchannels, self.sampwidth, self.framerate,
94 f.setsampwidth(self.sampwidth)
103 self.assertEqual(params.sampwidth, self.sampwidth)
114 f.setsampwidth(self.sampwidth)
121 self.assertEqual(params.sampwidth, self.sampwidth)
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
327 self.assertEqual(f.getsampwidth(), self.sampwidth)