exynos9610: shim: fixup audio_route_missing_ctl
authorJan Altensen <info@stricted.net>
Wed, 5 May 2021 13:03:01 +0000 (15:03 +0200)
committerJan Altensen <info@stricted.net>
Wed, 5 May 2021 22:28:13 +0000 (00:28 +0200)
Change-Id: Ie646fde984bd676a89d1086074a0c594c4eb8f0b

shims/libaudioproxy/shim.cpp

index fa79502014756a988c539013bb6f98dcc31b0a7f..135a661a8fa1d549525fb6c5575324d8e9085416 100644 (file)
@@ -31,7 +31,7 @@ extern "C" int audio_route_missing_ctl(int *param_1) {
     //__android_log_print(6,"audio_route","invalid audio_route");
     return 0;
   }
-  int a = *(int *)(param_1 + 0x18);
+  int a = *(int *)(param_1 + 6);
   return a;
 }