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

# ShapeSignedFromU16_8

> ShapeSignedFromU16_8

# ShapeSignedFromU16\_8

將一個 16 位元整數與一個 8 位元整數合併為一個 32 位元整數。

## 語法

```cpp theme={null}
INT32 ShapeSignedFromU16_8(  
         UINT32 highU16,  
         UINT32 lowU8  
)  
```

### 參數

*highU16*   \
類型：UINT32

不帶正負號的 16 位元整數。

*lowU8*   \
類型：UINT32

不帶正負號的 8 位元整數。

### 傳回值

類型：INT32

帶正負號的 32 位元整數，其高位元為 16 位元整數，低位元為 8 位元整數。

## 備註

此函式會將指定的 16 位元整數放在高位元，並將指定的 8 位元整數放在低位元。

若要將 8 位元整數放在高位元、16 位元整數放在低位元，請使用 [ShapeSignedFromU8\_16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedfromu8_16)。

若要將不帶正負號的 24 位元整數轉換為帶正負號的 32 位元整數，請使用 [ShapeSignedFromU24](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedfromu24)。

## 需求

**標頭：** shapeeqcompcontext.h

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

## 另請參閱

[ShapeEqCompContext](/zh-TW/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [ShapeSignedFromU8_16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedfromu8_16.md)
- [ShapeEqCompContext](/zh-TW/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [ShapeSignedToU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtou16.md)
- [ShapeSignedToHighU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtohighu16.md)
- [ShapeSignedToLowU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtolowu16.md)
