AudioFormat.Builder.SetEncoding(Encoding) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Legt das Datencodierungsformat fest.
[Android.Runtime.Register("setEncoding", "(I)Landroid/media/AudioFormat$Builder;", "GetSetEncoding_IHandler")]
public virtual Android.Media.AudioFormat.Builder? SetEncoding(Android.Media.Encoding encoding);
[<Android.Runtime.Register("setEncoding", "(I)Landroid/media/AudioFormat$Builder;", "GetSetEncoding_IHandler")>]
abstract member SetEncoding : Android.Media.Encoding -> Android.Media.AudioFormat.Builder
override this.SetEncoding : Android.Media.Encoding -> Android.Media.AudioFormat.Builder
Parameter
- encoding
- Encoding
die angegebene Codierung oder standard. Der Wert ist einer der folgenden: AudioFormat.ENCODING_DEFAULT AudioFormat.ENCODING_PCM_16BIT AudioFormat.ENCODING_PCM_8BIT AudioFormat.ENCODING_PCM_FLOAT AudioFormat.ENCODING_AC3 AudioFormat.ENCODING_E_AC3 AudioFormat.ENCODING_DTS AudioFormat.ENCODING_DTS_HD AudioFormat.ENCODING_MP3 AudioFormat.ENCODING_AAC_LC AudioFormat.ENCODING_AAC_HE_V1 AudioFormat.ENCODING_AAC_HE_V2 AudioFormat.ENCODING_IEC61937 AudioFormat.ENCODING_DOLBY_TRUEHD AudioFormat.ENCODING_AAC_ELD AudioFormat.ENCODING_AAC_XHE AudioFormat.ENCODING_AC4 AudioFormat.ENCODING_AC4_L4 AudioFormat.ENCODING_E_AC3_JOC AudioFormat.ENCODING_DOLBY_MAT AudioFormat.ENCODING_OPUS AudioFormat.ENCODING_PCM_24BIT_PACKED AudioFormat.ENCODING_PCM_32BIT AudioFormat.ENCODING_MPEGH_BL_L3 AudioFormat.ENCODING_MPEGH_BL_L4 AudioFormat.ENCODING_MPEGH_LC_L3 AudioFormat.ENCODING_MPEGH_LC_L4 AudioFormat.ENCODING_DTS_UHD_P1 AudioFormat.ENCODING_DRA AudioFormat.ENCODING_DTS_HD_MA AudioFormat.ENCODING_DTS_UHD_P2 AudioFormat.ENCODING_DSD AudioFormat.ENCODING_IAMF_BASE_ENHANCED_PROFILE_AAC AudioFormat.ENCODING_IAMF_BASE_ENHANCED_PROFILE_FLAC AudioFormat.ENCODING_IAMF_BASE_ENHANCED_PROFILE_OPUS AudioFormat.ENCODING_IAMF_BASE_ENHANCED_PROFILE_PCM AudioFormat.ENCODING_IAMF_BASE_PROFILE_AAC AudioFormat.ENCODING_IAMF_BASE_PROFILE_FLAC AudioFormat.ENCODING_IAMF_BASE_PROFILE_OPUS AudioFormat.ENCODING_IAMF_BASE_PROFILE_PCM AudioFormat.ENCODING_IAMF_SIMPLE_PROFILE_AAC AudioFormat.ENCODING_IAMF_SIMPLE_PROFILE_FLAC AudioFormat.ENCODING_IAMF_SIMPLE_PROFILE_OPUS AudioFormat.ENCODING_IAMF_SIMPLE_PROFILE_PCM
Gibt zurück
dieselbe Generator-Instanz.
- Attribute
Hinweise
Legt das Datencodierungsformat fest.
Android-Referenz für android.media.AudioFormat.Builder.setEncoding.
Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.