Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.neomedia.format
Interface AudioMediaFormat

All Superinterfaces:
MediaFormat
All Known Implementing Classes:
AudioMediaFormatImpl

public interface AudioMediaFormat
extends MediaFormat

The interface represents an audio format. Audio formats characterize audio streams and the AudioMediaFormat interface gives access to some of its properties such as encoding, clock rate, and number of channels.

Author:
Emil Ivov

Field Summary
 
Fields inherited from interface net.java.sip.communicator.service.neomedia.format.MediaFormat
MAX_DYNAMIC_PAYLOAD_TYPE, MIN_DYNAMIC_PAYLOAD_TYPE, RTP_PAYLOAD_TYPE_UNKNOWN
 
Method Summary
 int getChannels()
          Returns the number of audio channels associated with this AudioMediaFormat.
 
Methods inherited from interface net.java.sip.communicator.service.neomedia.format.MediaFormat
equals, formatParametersMatch, getAdditionalCodecSettings, getAdvancedAttributes, getClockRate, getClockRateString, getEncoding, getFormatParameters, getMediaType, getRealUsedClockRateString, getRTPPayloadType, setAdditionalCodecSettings, toString
 

Method Detail

getChannels

int getChannels()
Returns the number of audio channels associated with this AudioMediaFormat.

Returns:
the number of audio channels associated with this AudioMediaFormat.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.