| 548 | // expose the volume APIs to Java for one of the 3 players |
| 549 | |
| 550 | static SLVolumeItf getVolume() { |
| 551 | if (uriPlayerVolume != NULL) |
| 552 | return uriPlayerVolume; |
| 553 | else if (fdPlayerVolume != NULL) |
| 554 | return fdPlayerVolume; |
| 555 | else |
| 556 | return bqPlayerVolume; |
| 557 | } |
| 558 | |
| 559 | void SetVolumeUriAudioPlayer(JNIEnv*, jclass, jint millibel) { |
| 560 | SLresult result; |
no outgoing calls
no test coverage detected