Пример #1
0
 def _open_input_stream(self):
     """
     Open an input stream.
     """
     soundio.instream_open()
Пример #2
0
 def test_instream_pause(self):
     self.setup_stream()
     soundio.instream_open()
     self.assertEqual(soundio.instream_pause(True), 0)
Пример #3
0
 def test_instream_get_latency(self):
     self.setup_stream()
     soundio.instream_open()
     self.assertIsInstance(soundio.instream_get_latency(0.42), int)
Пример #4
0
 def test_instream_start(self):
     self.setup_stream()
     soundio.instream_open()
     self.assertEqual(soundio.instream_start(), 0)