> ## 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](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu16_8)。

若要将一个无符号 24 位整数转换为有符号 32 位整数,请使用 [ShapeSignedFromU24](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu24)。

## 要求

**头文件:** shapeeqcompcontext.h

**支持的平台:** XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

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