AudioAdjustMode Enum

Definition

public enum AudioAdjustMode
type AudioAdjustMode = 
Inheritance
AudioAdjustMode

Fields

Name Value Description
Default 0

System will determine best handling of audio for playback rate adjustments. Used by default. This will make audio play faster or slower as required by the sync source without changing its pitch; however, system may fall back to some other method (e.g. change the pitch, or mute the audio) if time stretching is no longer supported for the playback rate.

Android reference for android.media.SyncParams.AUDIO_ADJUST_MODE_DEFAULT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Stretch 1

Time stretch audio when playback rate must be adjusted. This will make audio play faster or slower as required by the sync source without changing its pitch, as long as it is supported for the playback rate.

Android reference for android.media.SyncParams.AUDIO_ADJUST_MODE_STRETCH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Resample 2

Resample audio when playback rate must be adjusted. This will make audio play faster or slower as required by the sync source by changing its pitch (making it lower to play slower, and higher to play faster.)

Android reference for android.media.SyncParams.AUDIO_ADJUST_MODE_RESAMPLE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to