Accessing vendor service in the vendor Audio effect module failure!

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Accessing vendor service in the vendor Audio effect module failure!

Varun B
I'm trying to access a vendor service, in custom audio effect module. Vendor service is visible in " vndservice list".

All registered effects are loaded using Passthrough implementation of Audio effect service. The snippet of service implemenatation is as below:

int main() {
    android::ProcessState::initWithDriver("/dev/vndbinder");
    android::hardware::joinRpcThreadpool();
    defaultPassthroughServiceImplementation<IEffectsFactory>();
    return 0;;
}

When i try to enable the particular effect which accesses a vendor service internally, defaultServiceManager()-> getService(VENDOR_SERVICE) is getting timeout.

I found that "android::ProcessState::self()->getDriverName()" is still "/dev/binder" inside the custom audio effect module create() api. 

Please provide your inputs on how to achieve this.


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/android-platform.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/83b91101-11bd-44e4-a07a-b8b00358e3cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.