Home
last modified time | relevance | path

Searched refs:getnframes (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Lib/test/
Daudiotests.py56 self.assertEqual(f.getnframes(), nframes)
85 self.assertEqual(f.getnframes(), nframes)
249 f.setpos(f.getnframes() + 1)
256 n = f.getnframes()
265 self.assertEqual(f.readframes(f.getnframes()),
266 fout.readframes(fout.getnframes()))
281 self.assertEqual(f.getnframes(), self.sndfilenframes)
Dtest_aifc.py300 self.assertEqual(fout.getnframes(), 0)
305 self.assertEqual(fout.getnframes(), 4)
/external/python/cpython2/Mac/Demo/sound/
Dplayaiff.py9 print 'nframes =', af.getnframes()
12 nframes = min(af.getnframes(), 100000)
/external/python/cpython3/Lib/test/
Daudiotests.py34 self.assertEqual(f.getnframes(), nframes)
68 self.assertEqual(f.getnframes(), nframes)
298 f.setpos(f.getnframes() + 1)
305 n = f.getnframes()
314 self.assertEqual(f.readframes(f.getnframes()),
315 fout.readframes(fout.getnframes()))
329 self.assertEqual(f.getnframes(), self.sndfilenframes)
Dtest_aifc.py182 self.assertEqual(params.nframes, f.getnframes())
378 self.assertEqual(fout.getnframes(), 0)
383 self.assertEqual(fout.getnframes(), 4)
/external/python/cpython2/Lib/
Dsunau.py223 def getnframes(self): member in Au_read
248 self.getframerate(), self.getnframes(), \
280 if pos < 0 or pos > self.getnframes():
356 def getnframes(self): member in Au_write
386 self.getframerate(), self.getnframes(), \
Dwave.py195 def getnframes(self): member in Wave_read
212 self.getframerate(), self.getnframes(), \
376 def getnframes(self): member in Wave_write
Daifc.py383 def getnframes(self): member in Aifc_read
403 self.getframerate(), self.getnframes(), \
665 def getnframes(self): member in Aifc_write
980 print "nframes =", f.getnframes()
Dsndhdr.py74 a.getnframes(), 8*a.getsampwidth())
/external/python/cpython3/Lib/
Dsunau.py236 def getnframes(self): member in Au_read
261 self.getframerate(), self.getnframes(),
293 if pos < 0 or pos > self.getnframes():
383 def getnframes(self): member in Au_write
413 self.getframerate(), self.getnframes(),
Dsndhdr.py91 a.getnframes(), 8 * a.getsampwidth())
167 w.getnframes(), 8*w.getsampwidth())
Dwave.py201 def getnframes(self): member in Wave_read
218 self.getframerate(), self.getnframes(),
378 def getnframes(self): member in Wave_write
Daifc.py388 def getnframes(self): member in Aifc_read
408 self.getframerate(), self.getnframes(),
655 def getnframes(self): member in Aifc_write
932 print("nframes =", f.getnframes())
/external/autotest/server/brillo/
Daudio_utils.py53 num_frames = wave_file.getnframes()
/external/python/cpython2/Doc/library/
Dwave.rst83 .. method:: Wave_read.getnframes()
Dsunau.rst133 .. method:: AU_read.getnframes()
Daifc.rst74 .. method:: aifc.getnframes()
/external/python/cpython3/Doc/library/
Dsunau.rst129 .. method:: AU_read.getnframes()
Dwave.rst85 .. method:: Wave_read.getnframes()
Daifc.rst72 .. method:: aifc.getnframes()
/external/python/cpython3/Misc/
DHISTORY3931 correctly updates current file position. Au_read.getnframes() now returns an