> ## 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.

# FFT8

> FFT8

# FFT8

具有八個樣本的快速傅立葉轉換。

## 語法

```cpp theme={null}
void FFT8(  
         XMVECTOR* __restrict pReal,  
         XMVECTOR* __restrict pImaginary,  
         const size_t uCount= 1  
)  
```

### 參數

*pReal*   \_Inout\_updates\_(uCount \* 2)\
類型：XMVECTOR\* \_\_restrict

FFT 的實數分量。必須至少有 *uCount* × 2 個元素。

*pImaginary*   \_Inout\_updates\_(uCount \* 2)\
類型：XMVECTOR\* \_\_restrict

FFT 的虛數分量。必須至少有 *uCount* × 2 個元素。

*uCount*   \_In\_\
類型：size\_t

FFT 反覆運算次數。

### 傳回值

類型：void

無。

## 備註

對於樣本數目小於或等於 16 的 FFT，請使用 [FFT16](/zh-TW/reference/audio/xdsp/functions/fft16)、[FFT8](/zh-TW/reference/audio/xdsp/functions/fft8) 或 [FFT4](/zh-TW/reference/audio/xdsp/functions/fft4)。

所有緩衝區參數都必須為 16 位元組對齊。音訊資料必須是 FLOAT32 單聲道。

## 需求

**標頭：** xdsp.h

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[xdsp](/zh-TW/reference/audio/xdsp/xdsp_members)


## Related topics

- [FFT8](/reference/audio/xdsp/functions/fft8.md)
- [FFT](/reference/audio/xdsp/functions/fft.md)
- [FFT16](/reference/audio/xdsp/functions/fft16.md)
- [FFT4](/reference/audio/xdsp/functions/fft4.md)
