Explorar o código

dsp: voice: Reset music_info on SSR

Reset music_info playback states during SSR to fix incall music session
failure after SSR.
Music delivery session requests are getting ignored if the state is not reset.

Change-Id: I7dd736baa538fb3697c874230c5a9c02f90b6a06
Signed-off-by: Dhananjay Kumar <[email protected]>
Dhananjay Kumar %!s(int64=4) %!d(string=hai) anos
pai
achega
02aa9f5f33
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      dsp/q6voice.c

+ 2 - 0
dsp/q6voice.c

@@ -515,6 +515,8 @@ static void voc_set_error_state(uint16_t reset_proc)
 		if (v != NULL) {
 			v->voc_state = VOC_ERROR;
 			v->rec_info.recording = 0;
+			v->music_info.playing = 0;
+			v->music_info.force = 0;
 		}
 	}
 }