audio-native: 8660: Fix DTS test app issues
- The patch addresses following issues:
1> After completion of DTS playback, when try to play AC3 segmentation
fault happens.
2> When DTS playback started in repeat mode, if any of the iteration fails
next iterations will be tried out.
- This is happening because at the end of the DTS playback msm_mixer_close()
is called which will close the ALSA mixer and when we try to play AC3
msm_en_device() is called without opening the ALSA mixer. Hence
segmentation fault is observed.
- Remove the msm_mixer_open() and msm_mixer_close() calls from DTS test app
as it is taken care in devctl. In repeat mode if any of the iteration fails
no need to try next iterations and exiting the test app.
CRs-Fixed: 335066
(cherry picked from commit ebc0011dde2f2a582c16a2d306bdfcd43812cc63)
Change-Id: I0d5b790d5806a11ef6c51713d982a81d0c5deb2c
1 file changed