AudioFormat.Builder.SetEncoding(Encoding) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Establece el formato de codificación de datos.
[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
Parámetros
- encoding
- Encoding
la codificación especificada o el valor predeterminado. El valor es uno de los siguientes: 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
Devoluciones
la misma instancia del Generador.
- Atributos
Comentarios
Establece el formato de codificación de datos.
Referencia de Android para android.media.AudioFormat.Builder.setEncoding.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.