> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deinterleave

> Deinterleave

# Deinterleave

Essa função desintercala amostras de áudio de modo que todas as amostras correspondentes a um canal especificado fiquem contíguas.

## Sintaxe

```cpp theme={null}
void DSP::Deinterleave(  
         XMVECTOR* __restrict pOutput,  
         const XMVECTOR* __restrict pInput,  
         const size_t uChannelCount,  
         const size_t uFrameCount  
)  
```

### Parâmetros

*pOutput*   \_Out\_writes\_((uChannelCount \* uFrameCount) / 4)\
Tipo: XMVECTOR\* \_\_restrict

Matriz de elementos XMVECTOR fornecida pelo chamador que recebe as amostras no formato desintercalado. Ela não pode se sobrepor a pInput e deve ter pelo menos (*uChannelCount* × *uFrameCount*) ÷ 4 elementos.

*pInput*   \_In\_reads\_((uChannelCount \* uFrameCount) / 4)\
Tipo: XMVECTOR\* \_\_restrict

Matriz de elementos XMVECTOR fornecida pelo chamador que fornece amostras de áudio no formato intercalado. Ela não pode se sobrepor a pOutput e deve ter pelo menos (*uChannelCount* × *uFrameCount*) ÷ 4 elementos.

*uChannelCount*   \_In\_\
Tipo: size\_t

Número de canais contidos nos dados. *uChannelCount* deve ser maior que 1.

*uFrameCount*   \_In\_\
Tipo: size\_t

Número de quadros de dados válidos. *uFrameCount* deve ser maior que 0.

### Valor de retorno

Tipo: void

Nenhum.

## Comentários

Por exemplo, um áudio no formato \[LRLRLR] se torna \[LLLRRR]. Para obter mais informações sobre como desintercalar canais de áudio, consulte [De-interleave audio channels using SIMD instructions](https://stackoverflow.com/questions/39196188/de-interleave-audio-channels-using-simd-instructions). Para obter mais informações sobre a função de intercalação, consulte [Interleave](/pt-BR/reference/audio/xdsp/functions/interleave).

## Requisitos

**Cabeçalho:** xdsp.h

**Plataformas compatíveis:** consoles da família XBOX One e consoles XBOX Series

## Confira também

[xdsp](/pt-BR/reference/audio/xdsp/xdsp_members)

[Blog Games for Windows and the DirectX SDK](https://walbourn.github.io/xdsp-h-digital-signal-processing-helper-functions/)

[FFTInterleaved](/pt-BR/reference/audio/xdsp/functions/fftinterleaved)


## Related topics

- [IFFTDeinterleaved](/pt-BR/reference/audio/xdsp/functions/ifftdeinterleaved.md)
- [Interleave](/pt-BR/reference/audio/xdsp/functions/interleave.md)
- [FFTInterleaved](/pt-BR/reference/audio/xdsp/functions/fftinterleaved.md)
