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