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

Commit bb299e95 authored by Andy Hung's avatar Andy Hung Committed by Android (Google) Code Review
Browse files

Merge "SoundTrigger: Fix AudioFormat constructor argument count"

parents 1982ca78 f2dce141
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) {