07-20-2008 09:31 AM
I found the AudioPathControl API but am not sure how to use it.
With this code I wanted to check to what audio path the audio is directed:
int i = AudioPathControl.getAudioPath();
But that gives me this compilor error:
: non-static method getAudioPath() cannot be referenced from a static context
What am I doing wrong here?
Solved! Go to Solution.
07-20-2008 12:24 PM
getAudioPath() is not defined as a static method. You'll need to acquire a reference to an AudioPathControl instance before calling getAudioPath(). The below KB article shows how to acquire an AudioPathControl reference.
07-20-2008 01:47 PM
Thank you for your help;
I think I don't need the AudioPathControl function for the following:
I want to check if a wired headset is connected to the device. Is that possible with this API?
07-21-2008 09:10 AM
07-21-2008 09:37 AM
04-23-2009 02:01 PM