hal: qap-test: Fix for dolby library path in QAP

- In audio-ip-handler, fopen is used to calculate the size
  of encrypted dolby library. And fopen expects absolute
  path of the file to be opened.
- Changed to provide absolute dolby library path.

CRs-fixed: 2148462
Change-Id: I9ad2ff4fe86e584d1861e0c81775b8637c3d0732
This commit is contained in:
Satish Babu Patakokila 2017-11-20 16:58:17 +05:30
parent db5a00a433
commit 260ef59158
1 changed files with 5 additions and 1 deletions

View File

@ -41,7 +41,11 @@
/*#define LOG_NDEBUG 0*/
#if LINUX_ENABLED
#define QAC_LIB_MS12 "libdolby_ms12_wrapper.so"
#if defined(__LP64__)
#define QAC_LIB_MS12 "/usr/lib64/libdolby_ms12_wrapper.so"
#else
#define QAC_LIB_MS12 "/usr/lib/libdolby_ms12_wrapper.so"
#endif
#define QAC_LIB_M8 "libdts_m8_wrapper.so"
#else
#define QAC_LIB_MS12 "/system/lib/libdolby_ms12_wrapper.so"