samples/96b_argonkey: microphone: (FIX) stop dmic trigger
Stop the trigger (DMIC_TRIGGER_STOP) after acquiring microphone data Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
18e28c4e2a
commit
1c9840c420
1 changed files with 6 additions and 0 deletions
|
@ -154,6 +154,12 @@ void main(void)
|
|||
|
||||
signal_sampling_stopped();
|
||||
|
||||
ret = dmic_trigger(mic_dev, DMIC_TRIGGER_STOP);
|
||||
if (ret < 0) {
|
||||
printk("microphone stop trigger error\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* print PCM stream */
|
||||
#ifdef PCM_OUTPUT_IN_ASCII
|
||||
printk("-- start\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue