danger.audio
Interface Route



public interface Route

All audio objects have a route setting. This controls what happens to audio when the headset is plugged in or not.


Field Summary
static int BOTH
          both speakers
static int DEFAULT
          The default is Route.FOLLOW
static int DONT_FOLLOW
          use external speaker when headset plugged in, otherwise headset speaker
static int EXTERNAL
          external speaker always
static int FOLLOW
          use headset speaker when plugged in, otherwise external speaker
static int HEADSET
          headset speaker always
 

Field Detail

BOTH

static final int BOTH
both speakers

See Also:
Constant Field Values

HEADSET

static final int HEADSET
headset speaker always

See Also:
Constant Field Values

EXTERNAL

static final int EXTERNAL
external speaker always

See Also:
Constant Field Values

FOLLOW

static final int FOLLOW
use headset speaker when plugged in, otherwise external speaker

See Also:
Constant Field Values

DONT_FOLLOW

static final int DONT_FOLLOW
use external speaker when headset plugged in, otherwise headset speaker

See Also:
Constant Field Values

DEFAULT

static final int DEFAULT
The default is Route.FOLLOW

See Also:
Constant Field Values