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
    • 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.