Beats by Dre has signed a deal with the National Basketball Association to become the league's headphone, home speaker and…