audio: Enable RT priority inheritance for service clients

Useful for game, XR, spatialization clients.

Test: compiles
Bug: 331498867
Change-Id: I48d2120338d2d9bdf3c01dc1546937c3dc7aaba9
diff --git a/services/audioflinger/Effects.cpp b/services/audioflinger/Effects.cpp
index ab098de..19f95e2 100644
--- a/services/audioflinger/Effects.cpp
+++ b/services/audioflinger/Effects.cpp
@@ -1741,6 +1741,7 @@
 {
     ALOGV("constructor %p client %p", this, client.get());
     setMinSchedulerPolicy(SCHED_NORMAL, ANDROID_PRIORITY_AUDIO);
+    setInheritRt(true);
 
     if (client == 0) {
         return;