# RHYTHM_PLAYER_STATE_TYPE (/zh-CN/api-reference/rtc/cpp-all-platforms/enum-rhythmplayerstatetype)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="enum_rhythmplayerstatetype__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="rhythm_player_state_idle"></a>
<Parameter name="RHYTHM_PLAYER_STATE_IDLE">

（810）：虚拟节拍器未启用或已被禁用。

</Parameter>
<a id="rhythm_player_state_opening"></a>
<Parameter name="RHYTHM_PLAYER_STATE_OPENING">

（811）：正在打开节拍文件。

</Parameter>
<a id="rhythm_player_state_decoding"></a>
<Parameter name="RHYTHM_PLAYER_STATE_DECODING">

（812）：正在解码节拍文件。

</Parameter>
<a id="rhythm_player_state_playing"></a>
<Parameter name="RHYTHM_PLAYER_STATE_PLAYING">

（813）：节拍文件播放中。

</Parameter>
<a id="rhythm_player_state_failed"></a>
<Parameter name="RHYTHM_PLAYER_STATE_FAILED">

（814）：虚拟节拍器启动失败。可通过返回的 `errorCode` 排查错误原因，或尝试重新启动虚拟节拍器。

</Parameter>
</ParameterList>
