Skip to content
This repository has been archived by the owner on Dec 11, 2017. It is now read-only.

ReleaseNotes

Fred Sauer edited this page Mar 15, 2015 · 2 revisions

What's brewing in gwt-voices trunk

  • Stay tuned. More to come.

What's new in gwt-voices-3.3.2.jar (requires GWT 2.6.1 or newer)

  • Changes in this release
    • Java 7, GWT 2.6.1

What's new in gwt-voices-3.3.0.jar (requires GWT 2.6.0 or newer)

  • Changes in this release
    • Removed support for ie6
    • Added support for ie10

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

  • New in this release
    • Support for GWT 2.5.0
    • The gwt-voices query parameter and supported values (webaudio, html, flash, native) are available in a new SoundType enum
  • Changes in this release
    • Sound#getSoundType() now returns SoundType instead of String
    • Changed method signatures of deprecated SoundController methods setPreferredSoundType and getPreferredSoundType

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

  • Changes in this release
    • Calling Sound#play() before load state is LOAD_STATE_SUPPORTED_AND_READY no longer causes Flash sounds to later be played once they have loaded. Thanks Christopher Oestlund!

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

  • Changes Affecting Maven Users
    • Mark gwt-user pom dependency with <scope>provided</scope>, to avoid gwt-user-*.jar ending up in WEB-INF/lib/. Thanks samskivert!

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

  • Bug fixes
    • Don't generate playback completed events for Web Audio API sounds when looping

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

  • Bug fixes
    • For Web Audio, handle invalid URLs and ignore play() if it is called before the sound is loaded.
  • New in this release
    • Add SoundLoadStateChangeEvent support to Web Audio API

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

  • New in this release
    • Add PlaybackCompleteEvent support to Web Audio API

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

  • Bug fixes
    • Web Audio API URL is relative to hosted base URL, not GWT module
  • New in this release
    • gwt-voices now requires at least GWT 2.4.0
    • Releases are now also deployed to Sonatype OSS Maven repository and sync to Maven Central with groupId com.allen-sauer.gwt.voices and artifact gwt-voices
    • Added Cross Origin Resource Sharing (CORS) support for Flash and Web Audio API
    • Web Audio API MIME support is now based off of HTML5 Audio support. See also http://code.google.com/p/chromium/issues/detail?id=88122
      • SoundController#setPreferredSoundType() now has varargs argument, to indicate an ordered list of preferences:
  // Prior to 2.1.3
  public <S extends Sound> void setPreferredSoundType(Class<S> clazz);

  // New 2.1.3 API
  public <S extends Sound> void setPreferredSoundType(Class<S>... clazz);

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

  • Bug fixes
    • Removed extraneous "/" from the 'gwt-voices.swf' base URL.

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

  • New in this release
    • Default base URL for 'gwt-voices.swf' changed from GWT#getModuleBaseURL() to GWT.getHostPageBaseURL() + "/" + GWT.getModuleName() + "/". This avoids cross origin issues when the page contains a <base href="http://..."> tag.
    • Allow a custom gwt-voices.swf location to be specified via SoundController#setGwtVoicesSwfLocation(String baseUrl)

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

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

  • Bug fixes
    • Do not attempt to preload MIDI files in Mozilla and Webkit browsers since lack of volume control causes sounds to play immediately when created. Thanks dominik.hoernel!
  • Major changes in this release
    • Added HTML5 sound support!
  • Changes to the demo

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

  • Bug fixes
  • Other changes in this release
    • Support for GWT 2.0
    • Removed deprecated methods and constants
    • Removed deprecated Voices.gwt.xml module in favor of gwt-voices.gwt.xml. Instead of inherting com.allen_sauer.gwt.voices.Voices in your application module, you should now inherit com.allen_sauer.gwt.voices.gwt-voices instead.
  • Changes under the hood
    • Migration from event listeners to handlers
    • Improved ant build prompts. Thanks amichail!

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

  • New Features
    • Allow streaming MP3 sounds to be replayed after a call to sound.stop(). Thanks Doug Alcouffe!
    • Add deferred binding property for GWT new user-agent ie8

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

  • New Features
    • Prevent streaming sounds that are no longer playing from clogging the 'two connections per host' pipline. Thanks Anthony Fehir!
  • Bug Fixes
    • Improved deployment directory relocation by using module base URL to locate gwt-voices.swf (used for MP3 playback when Flash is installed). Thanks igor.mihalik!

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

  • New Features

    • Streaming support for MP3 playback. Thanks Anthony Fehir!
  • Bug Fixes

    • Flash MP3 fixes: removed duplicate sound loaded events, reinstating playback complete events. Thanks Anthony Fehir!
  • Other updates

    • Updated build scripts

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

  • Bug Fixes

    • Fixed broken Flash based MP3 playback caused by a corrupted gwt-voices.swf resource. Would cause IE to show (1 item remaining) in the status bar after page finishes loading.
    • Fix premature playback of audio files on Linux when mplayer is involved. Thanks vruiz.jurado!
  • General changes in this release

    • In IE only, playback of a second MIDI before the first has finished playing now causes playback of that first MIDI file to stopped. This is due to IE's inability to play more than one MIDI voice at a time. Thanks jamestyner!

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

Note: Flash based MP3 playback is broken in 1.5.0. Please upgrade to a newer release.

  • General changes in this release

    • Java 1.5 / GWT 1.5 support
  • Minor API Changes in this release

    • Sound.LoadState from int to enum
    • SoundController.MimeTypeSupport changed from int to enum
    • Renamed SoundCompleteEvent to PlaybackCompleteEvent
    • Renamed onSoundComplete() to onPlaybackComplete()
  • Bug Fixes

    • Fix/workaround for IE's inability to play only one MIDI file at a time; we now stop the first MIDI playback (IE only) when the second starts. Thanks jamestyner!
  • Other updates

    • Added a NOTICE file; See this project's Apache 2.0 License for what this means if you want to redistribute gwt-voices
    • Updated build scripts
    • Version moved from $wnd.GWT_VOICES_VERSION to $wnd.$GWT_VOICES_VERSION for consistency with other projects
    • Minor online demo updates, including second MIDI example, and brand new stop buttons

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

  • Feature Highlights

    • Improved sound capability detection in Opera.
    • Updated online demo with a MIDI example.
    • New Hornet Blast arcade game.
  • Bug Fixes

    • Fixed FlashVars related bug preventing MP3 files from playing in Opera.

What's New in gwt-voices-0.9.3.jar

  • Release 0.9.3 is not new. It's old :).