Home
last modified time | relevance | path

Searched refs:getsampwidth (Results 1 - 6 of 6) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_aifc.py183 self.assertEqual(params.sampwidth, f.getsampwidth())
196 self.assertEqual(fout.getsampwidth(), 2)
351 self.assertRaises(aifc.Error, fout.getsampwidth)
379 self.assertEqual(fout.getsampwidth(), 2)
385 fout.writeframes(b'\x00' * 4 * fout.getsampwidth() * fout.getnchannels())
H A Daudiotests.py32 self.assertEqual(f.getsampwidth(), sampwidth)
66 self.assertEqual(f.getsampwidth(), self.sampwidth)
327 self.assertEqual(f.getsampwidth(), self.sampwidth)
/third_party/python/Lib/
H A Dsunau.py48 getsampwidth() -- returns sample width in bytes
233 def getsampwidth(self): member in Au_read
263 return _sunau_params(self.getnchannels(), self.getsampwidth(),
366 def getsampwidth(self): member in Au_write
417 return _sunau_params(self.getnchannels(), self.getsampwidth(),
H A Dsndhdr.py98 a.getnframes(), 8 * a.getsampwidth())
178 w.getnframes(), 8*w.getsampwidth())
H A Dwave.py15 getsampwidth() -- returns sample width in bytes
226 available through the getsampwidth() method
324 def getsampwidth(self): member in Wave_read
337 return _wave_params(self.getnchannels(), self.getsampwidth(),
477 def getsampwidth(self): member in Wave_write
H A Daifc.py66 getsampwidth() -- returns sample width in bytes
288 # available through the getsampwidth() method
397 def getsampwidth(self): member in Aifc_read
413 return _aifc_params(self.getnchannels(), self.getsampwidth(),
653 def getsampwidth(self): member in Aifc_write
970 print("sampwidth =", f.getsampwidth())

Completed in 8 milliseconds