/**@class android.media.audiopolicy.AudioMix
@extends java.lang.Object

 @hide
*/
var AudioMix = {

/**@hide */
CALLBACK_FLAG_NOTIFY_ACTIVITY : "1",
/** An audio mix behavior where the output of the mix is sent to the original destination of
 the audio signal, i.e. an output device for an output mix, or a recording for an input mix.
*/
ROUTE_FLAG_RENDER : "1",
/** An audio mix behavior where the output of the mix is rerouted back to the framework and
 is accessible for injection or capture through the {@link AudioTrack} and {@link AudioRecord}
 APIs.
*/
ROUTE_FLAG_LOOP_BACK : "2",
/** An audio mix behavior where the targeted audio is played unaffected but a copy is
 accessible for capture through {@link AudioRecord}.

 Only capture of playback is supported, not capture of capture.
 Use concurrent capture instead to capture what is captured by other apps.

 The captured audio is an approximation of the played audio.
 Effects and volume are not applied, and track are mixed with different delay then in the HAL.
 As a result, this API is not suitable for echo cancelling.
 @hide
*/
ROUTE_FLAG_LOOP_BACK_RENDER : "3",
/** @hide
 Invalid mix type, default value.
*/
MIX_TYPE_INVALID : "-1",
/** @hide
 Mix type indicating playback streams are mixed.
*/
MIX_TYPE_PLAYERS : "0",
/** @hide
 Mix type indicating recording streams are mixed.
*/
MIX_TYPE_RECORDERS : "1",
/** State of a mix before its policy is enabled.
*/
MIX_STATE_DISABLED : "-1",
/** State of a mix when there is no audio to mix.
*/
MIX_STATE_IDLE : "0",
/** State of a mix that is actively mixing audio.
*/
MIX_STATE_MIXING : "1",
/**The current mixing state.
@return {Number} one of {@link #MIX_STATE_DISABLED}, {@link #MIX_STATE_IDLE},
          {@link #MIX_STATE_MIXING}.
*/
getMixState : function(  ) {},

/**
@hide 
*/
getRouteFlags : function(  ) {},

/**
@hide 
*/
getFormat : function(  ) {},

/**
@hide 
*/
getRule : function(  ) {},

/**
@hide 
*/
getMixType : function(  ) {},

/**
@hide 
*/
getRegistration : function(  ) {},

/**
@hide 
*/
isAffectingUsage : function(  ) {},

/**
@hide 
*/
isRoutedToDevice : function(  ) {},

/**
@return {String} an error string if the format would not allow Privileged playbackCapture
          null otherwise
@hide 
*/
canBeUsedForPrivilegedCapture : function(  ) {},

/**
@hide 
*/
equals : function(  ) {},

/**
@hide 
*/
hashCode : function(  ) {},


};