コード例 #1
0
 def test_pause(self):
     """Pause the audio source"""
     src = AudioSrc(port=3000)
     src.pipeline = MockPipeline()
     src.pause()
コード例 #2
0
 def test_end(self):
     """End the audio source"""
     src = AudioSrc(port=3000)
     src.pipeline = MockPipeline()
     src.end()
コード例 #3
0
 def test_run(self):
     """Run the audio source"""
     src = AudioSrc(port=3000)
     src.pipeline = MockPipeline()
     src.run()