Method: Hallon::ExampleAudioDriver#play
- Defined in:
- lib/hallon/audio_driver.rb
#play ⇒ Object
Called when the audio playback should start. ie. when buffered audio previously retrieved from #stream should start blasting from the speakers.
This method is only called as a direct result of the libspotify
start_playback callback. It is recommended for this method to
be thread-safe.
Once called, audio playback is expected continue until either #pause or #stop is called.
It is very important that this method does not block!
Return value is ignored.
29 30 |
# File 'lib/hallon/audio_driver.rb', line 29 def play end |