public boolean write(byte[] bytes,int offset,int size){
  try {
    os.write(bytes,offset,size);
  }
 catch (  IOException ioe) {
    return false;
  }
  return true;
}

public boolean write ( byte [ ] bytes , int offset , int size ) { try { os . write ( bytes , offset , size ) ; } catch ( IOException ioe ) { return false ; } return true ; }
writes the given bytes to the audio stream
