public abstract class

AudioSource.Settings

extends java.lang.Object

 java.lang.Object

↳androidx.camera.video.internal.AudioSource.Settings

Overview

Settings required to configure the audio source.

Summary

Methods
public static AudioSource.Settings.Builderbuilder()

Creates a builder for these settings.

public abstract intgetAudioFormat()

Sets the audio format.

public abstract intgetAudioSource()

Gets the device audio source.

public abstract intgetChannelCount()

Gets the channel count.

public abstract intgetSampleRate()

Gets the audio sample rate.

public abstract AudioSource.Settings.BuildertoBuilder()

Creates a AudioSource.Settings.Builder initialized with the same settings as this instance.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public static AudioSource.Settings.Builder builder()

Creates a builder for these settings.

public abstract AudioSource.Settings.Builder toBuilder()

Creates a AudioSource.Settings.Builder initialized with the same settings as this instance.

public abstract int getAudioSource()

Gets the device audio source.

See also:

public abstract int getSampleRate()

Gets the audio sample rate.

public abstract int getChannelCount()

Gets the channel count.

public abstract int getAudioFormat()

Sets the audio format.

See also: