public java.util.Collection<AudioChannel.Layout>
  getSupportedAudioChannelLayouts()
  {
    java.util.List<AudioChannel.Layout> retval =
      new java.util.LinkedList<AudioChannel.Layout>();
    int count = getNumSupportedAudioChannelLayouts();
    for(int i=0;i<count;i++)
    {
      AudioChannel.Layout layout = getSupportedAudioChannelLayout(i);
      if (layout != AudioChannel.Layout.CH_LAYOUT_UNKNOWN)
        retval.add(layout);
    }
    return retval;
  }
public java.util.Collection<AudioChannel.Layout>
  getSupportedAudioChannelLayouts()
  {
    java.util.List<AudioChannel.Layout> retval =
      new java.util.LinkedList<AudioChannel.Layout>();
    int count = getNumSupportedAudioChannelLayouts();
    for(int i=0;i<count;i++)
    {
      AudioChannel.Layout layout = getSupportedAudioChannelLayout(i);
      if (layout != AudioChannel.Layout.CH_LAYOUT_UNKNOWN)
        retval.add(layout);
    }
    return retval;
  }
public java . util . Collection < AudioChannel . Layout > getSupportedAudioChannelLayouts ( ) { java . util . List < AudioChannel . Layout > retval = new java . util . LinkedList < AudioChannel . Layout > ( ) ; int count = getNumSupportedAudioChannelLayouts ( ) ; for ( int i = 0 ; i < count ; i ++ ) { AudioChannel . Layout layout = getSupportedAudioChannelLayout ( i ) ; if ( layout != AudioChannel . Layout . CH_LAYOUT_UNKNOWN ) retval . add ( layout ) ; } return retval ; }
Returns a list of supported audio channel layouts this codec can encode
audio in.

<p>

Not all codecs support reporting this, in which case the returned list
will be empty.

</p>

@return a list
Returns a list of supported audio channel layouts this codec can encode audio in .