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

# ShapeSignedFromU8_16

> ShapeSignedFromU8_16

# ShapeSignedFromU8\_16

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

## 語法

```cpp theme={null}
INT32 ShapeSignedFromU8_16(  
         UINT32 highU8,  
         UINT32 lowU16  
)  
```

### 參數

*highU8*   \
類型: UINT32

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

*lowU16*   \
類型: UINT32

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

### 傳回值

類型: INT32

帶正負號的 32 位元整數,其中 8 位元整數位於高位元,16 位元整數位於低位元。

## 備註

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

若要將 16 位元整數放在高位元,並將 8 位元整數放在低位元,請使用 [ShapeSignedFromU16\_8](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedfromu16_8)。

若要將不帶正負號的 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

- [ShapeSignedFromU16_8](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedfromu16_8.md)
- [ShapeEqCompContext](/zh-TW/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [ShapeSignedToLowU8](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtolowu8.md)
- [ShapeSignedToHighU8](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtohighu8.md)
- [ShapeSignedToU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtou16.md)
