Merge "hal: Add runtime based flag “ro.boot.audio” property"
diff --git a/post_proc/equalizer.c b/post_proc/equalizer.c
index a2e69b0..fe188c7 100644
--- a/post_proc/equalizer.c
+++ b/post_proc/equalizer.c
@@ -15,6 +15,11 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
+ *
+ * Changes from Qualcomm Innovation Center, Inc. are provided under the following license:
+ * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
+ * SPDX-License-Identifier: BSD-3-Clause-Clear
+ *
*/
#define LOG_TAG "offload_effect_equalizer"
@@ -425,7 +430,7 @@
equalizer_set_preset(eq_ctxt, preset);
break;
case EQ_PARAM_BAND_LEVEL:
- if (vsize < sizeof(int16_t)) {
+ if (vsize < sizeof(int32_t)) {
p->status = -EINVAL;
break;
}