AudioMixpublic class AudioMix extends Object
Fields Summary |
---|
private AudioMixingRule | mRule | private android.media.AudioFormat | mFormat | private int | mRouteFlags | private String | mRegistrationId | private int | mMixType | public static final int | ROUTE_FLAG_RENDERAn 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. | public static final int | ROUTE_FLAG_LOOP_BACKAn 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. | public static final int | MIX_TYPE_INVALID | public static final int | MIX_TYPE_PLAYERS | public static final int | MIX_TYPE_RECORDERS |
Constructors Summary |
---|
private AudioMix(AudioMixingRule rule, android.media.AudioFormat format, int routeFlags)All parameters are guaranteed valid through the Builder.
mRule = rule;
mFormat = format;
mRouteFlags = routeFlags;
mRegistrationId = null;
mMixType = rule.getTargetMixType();
|
|