|
JSR-234 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SoundSource3D
SoundSource3D
represents a sound source in
a virtual acoustical space. It is a logical group of
Player
s and/or MIDI channels.
At least a LocationControl
can be fetched from
the SoundSource3D
.
Typically, also a DirectivityControl
,
a DistanceAttenuationControl
,
a DopplerControl
,
an ObstructionControl
and
a MacroscopicControl
can be fetched from
the SoundSource3D
, if they are supported.
In general, the application can create as many
SoundSource3D
s as it needs, but the application
cannot PREFETCH or START necessarily the Player
s
connected to them. That is, the implementation might limit the amount
of active 3D sources by limiting how many Player
s
connected to SoundSource3D
s can be PREFETCHED or
STARTED simultaneously.
At least one Player
(of a content type
supported
by SoundSource3D
) can always be added to
a SoundSource3D
, but adding a MIDI channel
or a second Player
is not guaranteed to work.
Typically only mono Player
s would be added to
a SoundSource3D
. The behavior when sources
with multiple channels (e.g. stereo) are added to
a SoundSource3D
is dependent on the implementation.
Whether MacroscopicControl
is enabled or not might also
change the behaviour in the case of multichannel Player
s.
getControl
or getControls
of
SoundSource3D
MUST NOT throw
IllegalStateException
in case of
SoundSource3D
. That is, SoundSource3D
will always support the same set of Control
s
independently of how many and which Player
s are
connected to it.
The GlobalManager
is used to retrieve
SoundSource3D
s.
Spectator
,
EffectModule
Method Summary |
---|
Methods inherited from interface javax.microedition.amms.Module |
---|
addMIDIChannel, addPlayer, removeMIDIChannel, removePlayer |
Methods inherited from interface javax.microedition.media.Controllable |
---|
getControl, getControls |
|
JSR-234 1.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |