Friday, June 3, 2011

Re: Announce: gwt-voices 2.1.0 released -- sound for your apps

Thanks Fred!!

2011/6/3 Alain Ekambi <jazzmatadazz@googlemail.com>
Great Job  Fred.

Keep it up.

Alain


2011/6/3 Fred Sauer <fredsa@google.com>
There's a new version of gwt-voices ready for download. I'd love to get your feedback on this release, so I can remove the ReleaseCandidate tag and replace it with a shiny new Featured tag.

Why would you want to use GWT to play sounds you ask? Well, you might need sound effects when slinging birds through the air.



It's been a while, so the release notes have a bit more to say than usual:


What's new in gwt-voices-2.1.0.jar

  • Bug fixes

    • Prevent NullPointerException in non-HTML5 browsers
    • Catch and ignore setCurrentTime(0) exceptions on IE9
    • Fixed volume/balance/panning during Flash playback
    • Prevent data: URIs from trying to use Flash, which doesn't like them
    • Restore MIDI playback. Thanks ornello!
    • Workaround Chrome's inability to play the same audio twice: issues 71323 and 75725
    • Restore support for Flash MP3 playback in IE (was broken in gwt-voices 2.0.0)
  • New in this release

    • Add ability to loop sounds via Sound#setLooping(boolean)
    • Sound#play() now returns a boolean to indicate whether gwt-voices believes it was able to play the sound; it returns false when the sound system is unavailable or has run out of available channels
    • Flash plugin triggers also with audio/mpeg; codecs=MP3, not just audio/mpeg
    • For the time being, prefer Flash over HTML5 audio for audio/mpeg and audio/mpeg; codecs=MP3 MIME Types, due to poor HTML5 audio reliability
    • Require at least Flash 9 (previously 8) to trigger Flash playback
    • Added ie9 user.agent property support for GWT 2.3 to avoid those pesky warnings
    • Added HTML5 favicon to demo site
    • HTML5 playback provides PlaybackCompleteEvents (requires GWT 2.4 and later)
    • You can set an optional URL parameter gwt-voices to either html5 or flash, to indicate a runtime preference for MP3 files, which is overridden by SoundController#setPreferredSoundType()
    • New (deprecated) SoundController?#getPreferredSoundType(), which may be removed without warning in a future release
  • Other changes in this release

    • Using AS3 with mxmlc instead of AS2 with mtasc compiler
    • For compatibility testing, demo shows both HTML5 and Flash for audio/mpeg MIME types
    • Now require Java 1.6

Enjoy
--
Fred Sauer
Developer Advocate
G
ooglInc.
1600 Amphitheatre Parkway
Mountain View, CA 94043
fredsa@google.com


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment