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

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

## 要求

**头文件:** shapeeqcompcontext.h

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

## 另请参阅

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


## Related topics

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