public boolean supportsPcm(){
  return supportedEncodings.contains(AudioFormat.ENCODING_PCM_16BIT);
}

public boolean supportsPcm ( ) { return supportedEncodings . contains ( AudioFormat . ENCODING_PCM_16BIT ) ; }
returns whether the device supports playback of 16 - bit pcm .
