|
1.0: Final Release | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ReverbSourceControl
is an interface for manipulating
the feeding from an object to the audio effect called reverb.
A ReverbSourceControl
can only be fetched from
an EffectModule
or a SoundSource3D
(the terminal nodes of the effects network)
(if ReverbSourceControl
is supported at all).
The default value for all reverb source controls (whether the application has obtained them or not) is:
level = 0 mB
(natural room gain)
ReverbControl
Field Summary | |
static int |
DISCONNECT
The application can use this for setRoomLevel when it does not intend to connect this object (typically EffectModule or SoundSource3D) to the reverb. |
Method Summary | |
int |
getRoomLevel()
Gets the object specific level for the reverberant sound. |
void |
setRoomLevel(int level)
Sets the object specific level for the reverberant sound. |
Field Detail |
public static final int DISCONNECT
Method Detail |
public void setRoomLevel(int level) throws javax.microedition.media.MediaException
level
- the level of the reflected sound compared
to the natural room gain in millibels (mB, 1 mB = 1/100 dB);
must be a non-positive value. The default value is 0 meaning
the natural room gain (set by ReverbControl's presets).
Setting this value as Integer.MIN_VALUE disables the reflected
sound for the given object.
With the value DISCONNECT, the object can be disconnected from
the reverb.
java.lang.IllegalArgumentException
- if the factor
is not DISCONNECT, and factor
> 0
javax.microedition.media.MediaException
- if the value (typically for DISCONNECTing or
connecting) has been attempted
to be set in a wrong state of
the associated Player(s). (Typically, DISCONNECTing or
connecting is possible only in the REALIZED state
of the associated Players.)DISCONNECT
public int getRoomLevel()
|
1.0: Final Release | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |