Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2dce141 authored by Andy Hung's avatar Andy Hung
Browse files

SoundTrigger: Fix AudioFormat constructor argument count

Test: SoundTrigger sanity
Bug: 120686243
Change-Id: Ie8909d4c374722eebf23242db288ff473438cd96
parent d0e81d2f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -225,7 +225,8 @@ void JNISoundTriggerCallback::onRecognitionEvent(struct sound_trigger_recognitio
                                    gAudioFormatCstor,
                                    audioFormatFromNative(event->audio_config.format),
                                    event->audio_config.sample_rate,
                                    inChannelMaskFromNative(event->audio_config.channel_mask));
                                    inChannelMaskFromNative(event->audio_config.channel_mask),
                                    (jint)0 /* channelIndexMask */);

    }
    if (event->type == SOUND_MODEL_TYPE_KEYPHRASE) {