This repository has been archived by the owner on Dec 11, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
ReleaseNotes
Fred Sauer edited this page Mar 15, 2015
·
2 revisions
- Stay tuned. More to come.
-
Changes in this release
- Java 7, GWT 2.6.1
-
Changes in this release
- Removed support for
ie6
- Added support for
ie10
- Removed support for
-
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 newSoundType
enum
-
Changes in this release
-
Sound#getSoundType()
now returnsSoundType
instead ofString
- Changed method signatures of deprecated
SoundController
methodssetPreferredSoundType
andgetPreferredSoundType
-
-
Changes in this release
- Calling
Sound#play()
before load state isLOAD_STATE_SUPPORTED_AND_READY
no longer causes Flash sounds to later be played once they have loaded. Thanks Christopher Oestlund!
- Calling
-
Changes Affecting Maven Users
- Mark
gwt-user
pom dependency with<scope>provided</scope>
, to avoidgwt-user-*.jar
ending up inWEB-INF/lib/
. Thanks samskivert!
- Mark
-
Bug fixes
- Don't generate playback completed events for Web Audio API sounds when looping
-
Bug fixes
- For Web Audio, handle invalid URLs and ignore
play()
if it is called before the sound is loaded.
- For Web Audio, handle invalid URLs and ignore
-
New in this release
- Add
SoundLoadStateChangeEvent
support to Web Audio API
- Add
-
New in this release
- Add
PlaybackCompleteEvent
support to Web Audio API
- Add
-
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 artifactgwt-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);
-
Bug fixes
- Removed extraneous "/" from the 'gwt-voices.swf' base URL.
-
New in this release
- Default base URL for 'gwt-voices.swf' changed from
GWT#getModuleBaseURL()
toGWT.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 viaSoundController#setGwtVoicesSwfLocation(String baseUrl)
- Default base URL for 'gwt-voices.swf' changed from
-
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)
- Prevent
-
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 returnsfalse
when the sound system is unavailable or has run out of available channels - Flash plugin triggers also with
audio/mpeg; codecs=MP3
, not justaudio/mpeg
- For the time being, prefer Flash over HTML5 audio for
audio/mpeg
andaudio/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
PlaybackCompleteEvent
s (requires GWT 2.4 and later) - You can set an optional URL parameter
gwt-voices
to eitherhtml5
orflash
, to indicate a runtime preference for MP3 files, which is overridden bySoundController#setPreferredSoundType()
- New (deprecated) SoundController#getPreferredSoundType(), which may be removed without warning in a future release
- Add ability to loop sounds via
-
Other changes in this release
- Using AS3 with
mxmlc
instead of AS2 withmtasc
compiler - For compatibility testing, demo shows both HTML5 and Flash for audio/mpeg MIME types
- Now require Java 1.6
- Using AS3 with
-
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
- Add Ogg Vorbis example
- Test additional audio types in sound support matrix
- Embed crowd sourced HTML5 audio data
-
Bug fixes
- Fix for issue 10
setPan
instead ofsetBalance
. Thanks jeremiegottero! - Fix for issue 8
setPrioritizeFlashSound
is not used. Thanks [email protected]!
- Fix for issue 10
-
Other changes in this release
- Support for GWT 2.0
- Removed deprecated methods and constants
- Removed deprecated
Voices.gwt.xml
module in favor ofgwt-voices.gwt.xml
. Instead of inhertingcom.allen_sauer.gwt.voices.Voices
in your application module, you should now inheritcom.allen_sauer.gwt.voices.gwt-voices
instead.
-
Changes under the hood
- Migration from event listeners to handlers
- Improved ant build prompts. Thanks amichail!
-
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
- Allow streaming MP3 sounds to be replayed after a call to
-
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!
-
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
-
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!
- Fixed broken Flash based MP3 playback caused by a corrupted
-
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!
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
fromint
toenum
-
SoundController.MimeTypeSupport
changed fromint
toenum
- Renamed
SoundCompleteEvent
toPlaybackCompleteEvent
- Renamed
onSoundComplete()
toonPlaybackComplete()
-
-
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
-
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.
- Fixed
- Release 0.9.3 is not new. It's old :).