public boolean isPassthroughSupported(String mimeType){
  return audioCapabilities != null && audioCapabilities.supportsEncoding(getEncodingForMimeType(mimeType));
}

public boolean isPassthroughSupported ( String mimeType ) { return audioCapabilities != null && audioCapabilities . supportsEncoding ( getEncodingForMimeType ( mimeType ) ) ; }
returns whether it is possible to play back input audio in the specified format using encoded audio passthrough .
