hal: use hal_op_format when querying app_type
Use out->hal_op_format when querying app_type. This ensures that
we are always using the same format used to configure the driver.
This prevents any app_type mismatches.
CRs-Fixed: 2110259
Change-Id: I3f59be08255ed48adffde20e861b5ceecd908a3b
diff --git a/hal/audio_extn/utils.c b/hal/audio_extn/utils.c
index a236ccd..522143d 100644
--- a/hal/audio_extn/utils.c
+++ b/hal/audio_extn/utils.c
@@ -822,7 +822,7 @@
&adev->streams_output_cfg_list,
usecase->stream.out->devices,
usecase->stream.out->flags,
- usecase->stream.out->format,
+ usecase->stream.out->hal_op_format,
usecase->stream.out->sample_rate,
usecase->stream.out->bit_width,
usecase->stream.out->channel_mask,