未验证 提交 2072d642 编写于 作者: O openharmony_ci 提交者: Gitee

!7863 【媒体子系统】audio规范修改

Merge pull request !7863 from 秦莉文/monthly_20221018
...@@ -166,6 +166,10 @@ static SLresult OpenSlTest() ...@@ -166,6 +166,10 @@ static SLresult OpenSlTest()
} }
SLmillibel pLevel = 0; SLmillibel pLevel = 0;
result = (*volumeItf)->GetVolumeLevel(volumeItf, &pLevel); result = (*volumeItf)->GetVolumeLevel(volumeItf, &pLevel);
if (SL_RESULT_SUCCESS != result) {
AUDIO_INFO_LOG("OpenSlTest GetVolumeLevel result: %{public}lu", result);
return result;
}
result = (*pcmPlayerObject)->GetInterface(pcmPlayerObject, SL_IID_OH_BUFFERQUEUE, &bufferQueueItf); result = (*pcmPlayerObject)->GetInterface(pcmPlayerObject, SL_IID_OH_BUFFERQUEUE, &bufferQueueItf);
if (SL_RESULT_SUCCESS != result) { if (SL_RESULT_SUCCESS != result) {
AUDIO_INFO_LOG("OpenSlTest get bufferQueueItf result: %{public}lu", result); AUDIO_INFO_LOG("OpenSlTest get bufferQueueItf result: %{public}lu", result);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册