Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Daudiotests.py86 self.assertEqual(f.readframes(nframes), frames)
232 self.assertEqual(f.readframes(0), b'')
234 self.assertEqual(f.readframes(2), chunk1)
238 self.assertEqual(f.readframes(2), chunk1)
241 self.assertEqual(f.readframes(2), chunk2)
243 self.assertEqual(f.readframes(2), chunk2)
245 self.assertEqual(f.readframes(2), chunk1)
259 fout.writeframes(f.readframes(i))
265 self.assertEqual(f.readframes(f.getnframes()),
266 fout.readframes(fout.getnframes()))
[all …]
/external/python/cpython3/Lib/test/
Daudiotests.py69 self.assertEqual(f.readframes(nframes), frames)
281 self.assertEqual(f.readframes(0), b'')
283 self.assertEqual(f.readframes(2), chunk1)
287 self.assertEqual(f.readframes(2), chunk1)
290 self.assertEqual(f.readframes(2), chunk2)
292 self.assertEqual(f.readframes(2), chunk2)
294 self.assertEqual(f.readframes(2), chunk1)
308 fout.writeframes(f.readframes(i))
314 self.assertEqual(f.readframes(f.getnframes()),
315 fout.readframes(fout.getnframes()))
[all …]
/external/python/cpython2/Mac/Demo/sound/
Dplayaiff.py13 frames = af.readframes(nframes)
/external/python/cpython2/Doc/library/
Daifc.rst110 .. method:: aifc.readframes(nframes)
119 Rewind the read pointer. The next :meth:`readframes` will start from the
139 above methods, except for :meth:`readframes` and :meth:`setpos`. In addition
Dwave.rst105 .. method:: Wave_read.readframes(n)
Dsunau.rst157 .. method:: AU_read.readframes(n)
/external/python/cpython3/Doc/library/
Daifc.rst112 .. method:: aifc.readframes(nframes)
121 Rewind the read pointer. The next :meth:`readframes` will start from the
141 above methods, except for :meth:`readframes` and :meth:`setpos`. In addition
Dsunau.rst154 .. method:: AU_read.readframes(n)
Dwave.rst108 .. method:: Wave_read.readframes(n)
/external/python/cpython2/Lib/plat-mac/
DAudio_mac.py117 data = af.readframes(BUFSIZ)
/external/autotest/server/brillo/
Daudio_utils.py64 wave_file.readframes(num_frames)))
/external/python/cpython2/Lib/
Daudiodev.py253 data = af.readframes(BUFSIZ)
Daifc.py423 def readframes(self, nframes): member in Aifc_read
992 data = f.readframes(1024)
Dsunau.py257 def readframes(self, nframes): member in Au_read
Dwave.py227 def readframes(self, nframes): member in Wave_read
/external/python/cpython3/Lib/
Daifc.py428 def readframes(self, nframes): member in Aifc_read
943 data = f.readframes(1024)
Dwave.py233 def readframes(self, nframes): member in Wave_read
Dsunau.py270 def readframes(self, nframes): member in Au_read
/external/autotest/client/cros/audio/
Dcheck_quality.py249 self._binary = self._wave_reader.readframes(self._n_frames)
/external/python/cpython2/Misc/NEWS.d/
D2.7.6rc1.rst280 Fix miscellaneous bugs in the sunau module. Au_read.readframes() now updates
/external/python/cpython3/Misc/
DHISTORY3929 Au_read.readframes() now updates current file position and reads correct