java.lang.Object | |
↳ | android.media.MediaCodecInfo.AudioCapabilities |
A class that supports querying the audio capabilities of a codec.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the range of supported bitrates in bits/second.
| |||||||||||
Returns the maximum number of input channels supported.
| |||||||||||
Returns the array of supported sample rate ranges.
| |||||||||||
Returns the array of supported sample rates if the codec
supports only discrete values.
| |||||||||||
Query whether the sample rate is supported by the codec.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the range of supported bitrates in bits/second.
Returns the maximum number of input channels supported. The codec supports any number of channels between 1 and this maximum value.
Returns the array of supported sample rate ranges. The array is sorted in ascending order, and the ranges are distinct.
Returns the array of supported sample rates if the codec
supports only discrete values. Otherwise, it returns
null
. The array is sorted in ascending order.
Query whether the sample rate is supported by the codec.