Index

A B C E G H I O P R S U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ALAW_ALGORITHM - Static variable in class ej.audio.format.G711AudioFormat
G711 ALAW encoding algorithm.
AudioException - Exception Class in ej.audio
RuntimeException thrown when an error occurred during an audio operation.
AudioException(int) - Constructor for exception class ej.audio.AudioException
Creates an audio exception with the specified error code.
AudioException(int, String) - Constructor for exception class ej.audio.AudioException
Creates an audio exception with the specified error code.
AudioException(int, Throwable) - Constructor for exception class ej.audio.AudioException
Creates an audio exception with the specified error code and cause.
AudioFormat - Class in ej.audio
Specifies the data format of an audio stream.
AudioFormat() - Constructor for class ej.audio.AudioFormat
 
AudioSink - Class in ej.audio
Represents an audio playback stream.
AudioSink(AudioFormat, int) - Constructor for class ej.audio.AudioSink
Creates and opens an audio sink.
AudioSinkPermission - Class in ej.audio
This class represents access rights to audio sinks.
AudioSource - Class in ej.audio
Represents an audio recording stream.
AudioSource(AudioFormat, int) - Constructor for class ej.audio.AudioSource
Creates and opens an audio source.
AudioSourcePermission - Class in ej.audio
This class represents access rights the audio sources.

B

Base64AudioFormat - Class in ej.audio.format
AudioFormat which represents the format of an audio sink with the Base64 encoding.
Base64AudioFormat(AudioFormat) - Constructor for class ej.audio.format.Base64AudioFormat
Creates a Base64 audio format that wraps the given audio format.

C

close() - Method in class ej.audio.AudioSink
Closes this audio sink.
close() - Method in class ej.audio.AudioSource
Closes this audio source.
CREATE_ACTION - Static variable in class ej.audio.AudioSinkPermission
The action when creating an AudioSink.
CREATE_ACTION - Static variable in class ej.audio.AudioSourcePermission
The action when creating an AudioSource.

E

ej.audio - package ej.audio
 
ej.audio.format - package ej.audio.format
 
equals(Object) - Method in class ej.audio.AudioSinkPermission
 
equals(Object) - Method in class ej.audio.AudioSourcePermission
 

G

G711AudioFormat - Class in ej.audio.format
AudioFormat which represents the format of an audio sink with the G711 encoding.
G711AudioFormat(int, int) - Constructor for class ej.audio.format.G711AudioFormat
Creates a G711 audio format.
getActions() - Method in class ej.audio.AudioSinkPermission
 
getActions() - Method in class ej.audio.AudioSourcePermission
 
getBufferSize() - Method in class ej.audio.AudioSink
Returns the buffer size of this audio sink.
getBufferSize() - Method in class ej.audio.AudioSource
Returns the buffer size of this audio source.
getEncoding() - Method in class ej.audio.AudioFormat
Returns the data format of an audio stream.
getEncoding() - Method in class ej.audio.format.Base64AudioFormat
 
getEncoding() - Method in class ej.audio.format.G711AudioFormat
 
getEncoding() - Method in class ej.audio.format.PcmAudioFormat
 
getErrorCode() - Method in exception class ej.audio.AudioException
Returns the error code of this audio exception.
getFormat() - Method in class ej.audio.AudioSink
Returns the format of this audio sink.
getFormat() - Method in class ej.audio.AudioSource
Returns the format of this audio source.
getParameters() - Method in class ej.audio.AudioFormat
Returns the parameters of this audio format.
getParameters() - Method in class ej.audio.format.Base64AudioFormat
 
getParameters() - Method in class ej.audio.format.G711AudioFormat
 
getParameters() - Method in class ej.audio.format.PcmAudioFormat
 

H

hashCode() - Method in class ej.audio.AudioSinkPermission
 
hashCode() - Method in class ej.audio.AudioSourcePermission
 

I

implies(Permission) - Method in class ej.audio.AudioSinkPermission
 
implies(Permission) - Method in class ej.audio.AudioSourcePermission
 
isClosed() - Method in class ej.audio.AudioSink
Returns whether this audio sink is closed.
isClosed() - Method in class ej.audio.AudioSource
Returns whether this audio source is closed.

O

OUT_OF_MEMORY - Static variable in exception class ej.audio.AudioException
Error when trying to open a stream but there is not enough memory.

P

PcmAudioFormat - Class in ej.audio.format
AudioFormat which represents the format of an audio sink with the PCM (Pulse-Code Modulation) encoding.
PcmAudioFormat(int, int, int, boolean, boolean) - Constructor for class ej.audio.format.PcmAudioFormat
Creates a PCM audio format.

R

READ_ACTION - Static variable in class ej.audio.AudioSourcePermission
The action when reading from an AudioSource.
readBuffer(byte[], int, int) - Method in class ej.audio.AudioSource
Reads audio data from the buffer of this audio source.

S

setVolume(float) - Method in class ej.audio.AudioSink
Sets the volume of this audio sink.

U

ULAW_ALGORITHM - Static variable in class ej.audio.format.G711AudioFormat
G711 ULAW encoding algorithm.
UNAVAILABLE_DEVICE - Static variable in exception class ej.audio.AudioException
Error when trying to open a stream but the audio device is not available.
UNSPECIFIED_OPEN_ERROR - Static variable in exception class ej.audio.AudioException
Error when trying to open a stream but it cannot be open for an implementation-specific reason.
UNSUPPORTED_FORMAT - Static variable in exception class ej.audio.AudioException
Error when trying to open a stream but the format is not supported.

W

WAIT_ACTION - Static variable in class ej.audio.AudioSinkPermission
The action when waiting for an AudioSink.
waitForBufferFlushed() - Method in class ej.audio.AudioSink
Waits for the buffer of this audio sink to be flushed.
WRITE_ACTION - Static variable in class ej.audio.AudioSinkPermission
The action when writing to an AudioSink.
writeBuffer(byte[], int, int) - Method in class ej.audio.AudioSink
Writes audio data in the buffer of this audio sink.
A B C E G H I O P R S U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form