Home
last modified time | relevance | path

Searched refs:getsampwidth (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/test/
Dtest_aifc.py180 self.assertEqual(params.sampwidth, f.getsampwidth())
193 self.assertEqual(fout.getsampwidth(), 2)
348 self.assertRaises(aifc.Error, fout.getsampwidth)
376 self.assertEqual(fout.getsampwidth(), 2)
382 fout.writeframes(b'\x00' * 4 * fout.getsampwidth() * fout.getnchannels())
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/
Dsunau.py230 def getsampwidth(self): member in Au_read
260 return _sunau_params(self.getnchannels(), self.getsampwidth(),
361 def getsampwidth(self): member in Au_write
412 return _sunau_params(self.getnchannels(), self.getsampwidth(),
Dsndhdr.py91 a.getnframes(), 8 * a.getsampwidth())
167 w.getnframes(), 8*w.getsampwidth())
Dwave.py204 def getsampwidth(self): member in Wave_read
217 return _wave_params(self.getnchannels(), self.getsampwidth(),
356 def getsampwidth(self): member in Wave_write
Daifc.py391 def getsampwidth(self): member in Aifc_read
407 return _aifc_params(self.getnchannels(), self.getsampwidth(),
633 def getsampwidth(self): member in Aifc_write
933 print("sampwidth =", f.getsampwidth())
/third_party/python/Doc/library/
Dsunau.rst119 .. method:: AU_read.getsampwidth()
Dwave.rst75 .. method:: Wave_read.getsampwidth()
Daifc.rst62 .. method:: aifc.getsampwidth()