dsp: don't read off the end of the data array

* EQ_PARAM_CUR_PRESET will attempt to read a 32-bit value from a 16-bit
  location, resulting in an extra 16 garbage bits being read.

Change-Id: Ie6aa89c5a2d2853170cbd06343cee853a903745c
Support for digital dock path

Change-Id: Iab2c2bf3e07e2ac1ad773d793a1061f00303d3fa
dspmanager: Catch ALL the exceptions!

 * There are very few times where catching Exception is appropriate, but
   in this case it's appropriate to do four times in a row. Due to
   various issues with device switching and other weirdness, an effect
   might fail to set. Let's just hide it instead of crashing the app.

Change-Id: Icedc3493e88a23189c62f560a72f4fb7b2eb462b
Actually add digital dock intent to the filter.

 * Also make updateDsp synchronized to avoid badness.

Change-Id: I81ffc9e18e2a9f10c476b578b84af1a55d08c49b
Add an explicit license

Since not all the headers have a clear license in them, explicitly
default to Apache 2.0

Change-Id: I2c49321c158dbed5eb60e23dc1b61c7ca20b9d83