Example usage for android.media.audiofx AudioEffect ERROR_BAD_VALUE

List of usage examples for android.media.audiofx AudioEffect ERROR_BAD_VALUE

Introduction

In this page you can find the example usage for android.media.audiofx AudioEffect ERROR_BAD_VALUE.

Prototype

int ERROR_BAD_VALUE

To view the source code for android.media.audiofx AudioEffect ERROR_BAD_VALUE.

Click Source Link

Document

Operation failed due to bad parameter value.

Usage

From source file:org.opensilk.music.playback.control.PlaybackController.java

public int getAudioSessionId() {
    if (hasController()) {
        try {/*from   w  ww .j  a va2s. co  m*/
            return mPlaybackService.getAudioSessionId();
        } catch (RemoteException e) {
        }
    }
    return AudioEffect.ERROR_BAD_VALUE;
}