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

# GetShapeEqCompInputDelay0

> GetShapeEqCompInputDelay0

# GetShapeEqCompInputDelay0

获取左声道的输入延迟。

## 语法

```cpp theme={null}
float GetShapeEqCompInputDelay0(  
         const SHAPE_EQCOMP_CONTEXT* context  
)  
```

### 参数

*context*   \_In\_\
类型：[SHAPE\_EQCOMP\_CONTEXT\*](/reference/audio/shapeeqcompcontext/structs/shape_eqcomp_context)

指向 `SHAPE_EQCOMP_CONTEXT` 对象的指针。

### 返回值

类型：float

左声道的输入延迟。

## 备注

由于 SHAPE 时钟独立于 CPU 时钟，延迟可能是一个因素。硬件到软件以及软件到硬件的转换会产生 2.66 毫秒的延迟。当你同步关键代码并对某些声音使用多次转换时，请考虑实现基于 CPU 时钟的延迟来同步声音渲染。

有关相关信息，请参阅 [SHAPE 概述](/build/console-features/audio/overviews/shape-overview) 中的 [均衡与压缩](/build/console-features/audio/overviews/shape-overview#ID4ECF)。

## 要求

**头文件：** shapeeqcompcontext.h

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

## 另请参阅

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


## Related topics

- [ShapeEqCompContext](/zh-CN/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [GetShapeEqCompInputDelay1](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompinputdelay1.md)
- [GetShapeEqCompInputLevel](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompinputlevel.md)
- [GetShapeEqCompGain](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompgain.md)
- [GetShapeEqCompRatio](/zh-CN/reference/audio/shapeeqcompcontext/functions/getshapeeqcompratio.md)
