Initialize the pcm_config struct before pcm_open.

snd_pcm_sw_params in pcm_native.c is failing on
"if (params->silence_size > params->silence_threshold)" with EINVAL. The dragon
soundtrigger hal sets silence_threshold to 0, so the failure must be due to
an uninitialized value for silence_size.

Bug: 33686003
Test: Verified hotword works on Ryu.

Change-Id: I0f53b935c2790a1634303c64d81fa0de8be913ab
(cherry picked from commit 47de514d7040ad9f76b4a4b112d6717438f3d837)
1 file changed