Method: Hallon::ExampleAudioDriver#pause
- Defined in:
- lib/hallon/audio_driver.rb
#pause ⇒ Object
Called when the audio playback should be paused; often this is called as a direct result of Player#pause.
It may also be called if the audio is stuttering, to allow spotify to buffer up more data before continuing playback. Because of this, this method is recommended to be thread-safe.
It is very important that this method does not block!
Return value is ignored.
42 43 |
# File 'lib/hallon/audio_driver.rb', line 42 def pause end |