次の方法で共有


AudioTrack.SetAudioDescriptionMixLeveldB(Single) Method

Definition

Sets the Audio Description mix level in dB.

[Android.Runtime.Register("setAudioDescriptionMixLeveldB", "(F)Z", "GetSetAudioDescriptionMixLeveldB_FHandler", ApiSince=30)]
public virtual bool SetAudioDescriptionMixLeveldB (float level);
[<Android.Runtime.Register("setAudioDescriptionMixLeveldB", "(F)Z", "GetSetAudioDescriptionMixLeveldB_FHandler", ApiSince=30)>]
abstract member SetAudioDescriptionMixLeveldB : single -> bool
override this.SetAudioDescriptionMixLeveldB : single -> bool

Parameters

level
Single

a floating point value between Float.NEGATIVE_INFINITY to +48.f, where Float.NEGATIVE_INFINITY means the Audio Description is not mixed and a level of 0.f means the Audio Description is mixed without scaling.

Returns

true on success, false on failure.

Attributes

Remarks

Sets the Audio Description mix level in dB.

For AudioTracks incorporating a secondary Audio Description stream (where such contents may be sent through an Encapsulation Mode other than #ENCAPSULATION_MODE_NONE). or internally by a HW channel), the level of mixing of the Audio Description to the Main Audio stream is controlled by this method.

Such mixing occurs <strong>prior</strong> to overall volume scaling.

Java documentation for android.media.AudioTrack.setAudioDescriptionMixLeveldB(float).

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