public void play(ByteBuffer rawAudio)
  {
    byte[] data = rawAudio.array();
    mLine.write(data, rawAudio.position(), rawAudio.limit());
  }
public void play ( ByteBuffer rawAudio ) { byte [ ] data = rawAudio . array ( ) ; mLine . write ( data , rawAudio . position ( ) , rawAudio . limit ( ) ) ; }
Play the given bytes (in {@link #getFormat()} format on the device.
@param rawAudio a byte buffer where the data from {@link ByteBuffer#position()}
to {@link ByteBuffer#limit()} will be written.