Class: Gosu::AudioFocusListener
- Inherits:
-
JavaImports::Service
- Object
- JavaImports::Service
- Gosu::AudioFocusListener
- Includes:
- JavaImports::AudioManager::OnAudioFocusChangeListener
- Defined in:
- lib/gosu_android/audio/audio.rb
Overview
TODO No listener gets ever called, also when a song ends logcat returns error: E/MP3Extractor( 95): Unable to resync. Signalling end of stream.
Instance Method Summary collapse
Instance Method Details
#onAudioFocusChange(focusChange) ⇒ Object
16 17 18 19 |
# File 'lib/gosu_android/audio/audio.rb', line 16 def onAudioFocusChange focusChange puts "In focus change #{focusChange}" return false end |
#onBind(intent) ⇒ Object
21 22 23 |
# File 'lib/gosu_android/audio/audio.rb', line 21 def onBind intent return nil end |
#toString ⇒ Object
25 26 27 |
# File 'lib/gosu_android/audio/audio.rb', line 25 def toString self.class.to_s end |