hal: Fix SSR issue for compress offload playback
- Do not close compress sessions when sound card is offline. Change-Id: Ia894fef132ef92390aa732e88ff27c51cb63c9b1
This commit is contained in:
parent
54ae37c972
commit
c6e151114d
|
@ -3410,8 +3410,6 @@ static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs)
|
|||
struct audio_usecase *usecase;
|
||||
ALOGD("Received sound card OFFLINE status");
|
||||
set_snd_card_state(adev,SND_CARD_STATE_OFFLINE);
|
||||
//close compress sessions on OFFLINE status
|
||||
close_compress_sessions(adev);
|
||||
} else if (strstr(snd_card_status, "ONLINE")) {
|
||||
ALOGD("Received sound card ONLINE status");
|
||||
set_snd_card_state(adev,SND_CARD_STATE_ONLINE);
|
||||
|
|
Loading…
Reference in New Issue