Bug 10887 - Create methods on applet to manage sound on a per-applet basis
: Create methods on applet to manage sound on a per-applet basis
Status: NEW
Product: SqueezePlay
Classification: Unclassified
Component: UI
: unspecified
: All Other
: -- normal (vote)
: 8.1.0
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-28 15:14 UTC by Wadzinski Tom
Modified: 2010-05-06 15:47 UTC (History)
4 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wadzinski Tom 2009-01-28 15:14:10 UTC
Background info from forum post: http://forums.slimdevices.com/showthread.php?p=390032#post390032
****
The sound plaback methods are a bit in flux. For now (and going forward) you can get playback with the following:

	Framework:loadSound("invaders.explosion", "applets/Invaders/explosion.wav", 0)
	Framework:playSound("invaders.explosion")

where "invaders.explosion" is a string handle to the sound.

The handle name must be unique across the whole application, so be sure to name it sufficiently uniquely.

In a future release there will be applet methods to simplify the namespace issue and to automatically free sounds when the applet is freed.
****
Comment 1 Chris Owens 2010-05-06 15:47:34 UTC
Tom is no longer available to us