Sets a new amplitude value.
Returns eOk if a new amplitude value was successfully set or an appropriate error code in the other case.