Home
last modified time | relevance | path

Searched refs:getnchannels (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Lib/test/
Dtest_aifc.py179 self.assertEqual(params.nchannels, f.getnchannels())
346 self.assertRaises(aifc.Error, fout.getnchannels)
375 self.assertEqual(fout.getnchannels(), 1)
382 fout.writeframes(b'\x00' * 4 * fout.getsampwidth() * fout.getnchannels())
427 frames = b'\x00' * fout.getnchannels() * sampwidth
Daudiotests.py31 self.assertEqual(f.getnchannels(), nchannels)
65 self.assertEqual(f.getnchannels(), self.nchannels)
326 self.assertEqual(f.getnchannels(), self.nchannels)
Dtest_ossaudiodev.py31 nchannels = au.getnchannels()
/third_party/python/Lib/
Dsunau.py227 def getnchannels(self): member in Au_read
260 return _sunau_params(self.getnchannels(), self.getsampwidth(),
349 def getnchannels(self): member in Au_write
412 return _sunau_params(self.getnchannels(), self.getsampwidth(),
Dsndhdr.py90 return (fmt, a.getframerate(), a.getnchannels(),
166 return ('wav', w.getframerate(), w.getnchannels(),
Dwave.py198 def getnchannels(self): member in Wave_read
217 return _wave_params(self.getnchannels(), self.getsampwidth(),
344 def getnchannels(self): member in Wave_write
Daifc.py385 def getnchannels(self): member in Aifc_read
407 return _aifc_params(self.getnchannels(), self.getsampwidth(),
621 def getnchannels(self): member in Aifc_write
931 print("nchannels =", f.getnchannels())
/third_party/python/Doc/library/
Dsunau.rst114 .. method:: AU_read.getnchannels()
Dwave.rst70 .. method:: Wave_read.getnchannels()
Daifc.rst57 .. method:: aifc.getnchannels()