Skip to content
  1. Jan 28, 2014
  2. Jan 16, 2014
    • Michael Hanselmann's avatar
      [CB-4755] Fix crash in Media.setVolume on iOS · a8cd8f99
      Michael Hanselmann authored
      
      
      Media.setVolume caused the application to crash after Media.release was
      called. Code causing crash:
      
        var m = new Media("test.caf");
        m.release();
        m.setVolume(1); // crash in this call
      
      The reason was that retrieving the CDVAudioFile instance from the sound
      cache would return nil after Media.release. This patch fixes the issue
      by explicitely checking for nil. It also does away with an unnecessary
      cache initialization, which isn't needed as -[Media setVolume:] doesn't
      write to the cache.
      
      Signed-off-by: default avatarMichael Hanselmann <public@hansmi.ch>
      a8cd8f99
  3. Jan 09, 2014
  4. Jan 02, 2014
  5. Dec 19, 2013
  6. Dec 18, 2013
  7. Dec 16, 2013
  8. Dec 04, 2013
  9. Dec 03, 2013
  10. Dec 02, 2013
  11. Nov 11, 2013
  12. Oct 30, 2013
  13. Oct 28, 2013
  14. Oct 22, 2013
  15. Oct 09, 2013
  16. Oct 02, 2013
  17. Sep 27, 2013
  18. Sep 26, 2013
  19. Sep 25, 2013
  20. Sep 24, 2013
  21. Sep 21, 2013
  22. Sep 17, 2013
  23. Sep 16, 2013
  24. Sep 13, 2013
  25. Sep 09, 2013