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