Audiod: Priority change for AudioDaemon
- Device getting crash after preforming
ADSP/LPASS SSR during compress playback
- Due to continous compress write calls
to compress driver audio daemon not getting
schduled which results system crash
- Change AudioDaemon priority from PRIORITY_AUDIO
to PRIORITY_URGENT_AUDIO to make sure audio daemon
scheduled prior to audio HAL
Change-Id: I0d7dff30908d4e1f727c1eb6af9e66ed74095148
diff --git a/audiod/AudioDaemon.cpp b/audiod/AudioDaemon.cpp
index 6c8d991..6105635 100644
--- a/audiod/AudioDaemon.cpp
+++ b/audiod/AudioDaemon.cpp
@@ -48,7 +48,7 @@
void AudioDaemon::onFirstRef() {
ALOGV("Start audiod daemon");
- run("AudioDaemon", PRIORITY_AUDIO);
+ run("AudioDaemon", PRIORITY_URGENT_AUDIO);
}
void AudioDaemon::binderDied(const wp<IBinder>& who)