# AudioPcmDataSender 类 (/zh-CN/api-reference/rtc-server-sdk/python-api/audiopcmdatasender.python)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
`AudioPcmDataSender` 类。
## send_audio_pcm_data [#send_audio_pcm_data]
```python
def send_audio_pcm_data(self, frame: PcmAudioFrame)
```
将 PCM 格式的音频数据发送到本地音频轨道。
#### 参数 [#参数]
| 参数 | 描述 |
|------|------|
| `frame` | [`PcmAudioFrame`](/zh-CN/api-reference/rtc-server-sdk/python-api/apidatatype.python#pcmaudioframe) 对象,包含需要发送的 PCM 音频数据。 |
#### 返回值 [#返回值]
- 0: 方法调用成功。
- < 0: 方法调用失败。