Browse Source

Merge "dsp: voice: Reset music_info on SSR"

qctecmdr 4 năm trước cách đây
mục cha
commit
848466a9cc
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;
 		}
 	}
 }