code: public ChannelLayout[] getSupportedChannelLayouts() {
  		LongPointer layoutsPointer = avCodec.channel_layouts();
  
  		if (getType() != MediaType.AUDIO || layoutsPointer == null)
  			return null;
  
  		List<ChannelLayout> layouts = new ArrayList<ChannelLayout>();
  
  		long layout;
  		int index = 0;
  		while ((layout = layoutsPointer.get(index++)) != 0)
  			layouts.add(ChannelLayout.byId(layout));
  
  		return layouts.toArray(new ChannelLayout[0]);
  	}
docs: Get all supported channel layouts by this {@code Codec}. If this {@code Codec}
  is not an audio codec, then {@code null} is returned.
  
  @return all supported channel layouts by this {@code Codec}.