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

# GetShapeSrcSamplePointer

> GetShapeSrcSamplePointer

# GetShapeSrcSamplePointer

現在のサンプルポインターを取得します。

## 構文

```cpp theme={null}
UINT32 GetShapeSrcSamplePointer(  
         const SHAPE_SRC_CONTEXT* context  
)  
```

### パラメーター

*context*   \_In\_\
型: [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context)\*

[SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context) オブジェクトへのポインター。

### 戻り値

型: UINT32

サンプルポインター。

## 解説

この関数は現在の PCM 入力サンプルへのポインターを返します。

ポインターは [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context) オブジェクトの *samplePointer* メンバーに格納されます。SRC の詳細については、[SHAPE の概要](/build/console-features/audio/overviews/shape-overview) の [サンプルレートコンバーター (SRC) ブロック](/build/console-features/audio/overviews/shape-overview#ID4EOE) を参照してください。

## 要件

**ヘッダー:** shapesrccontext.h

**サポート対象プラットフォーム:** XBOX One ファミリー本体および XBOX Series 本体

## 関連項目

[ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

- [ShapeSrcContext](/ja-jp/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [GetShapeSrcSampleCount](/ja-jp/reference/audio/shapesrccontext/functions/getshapesrcsamplecount.md)
- [SHAPE_SRC_CONTEXT](/ja-jp/reference/audio/shapesrccontext/structs/shape_src_context.md)
- [GetShapePcmLoopStartOrWritePointer](/ja-jp/reference/audio/shapepcmcontext/functions/getshapepcmloopstartorwritepointer.md)
- [GetShapePcmReadPointer](/ja-jp/reference/audio/shapepcmcontext/functions/getshapepcmreadpointer.md)
