未验证 提交 03ac672b 编写于 作者: O openharmony_ci 提交者: Gitee

!7854 Add OpenSlTest GetVolumeLevel result

Merge pull request !7854 from zhoushufang/master
......@@ -166,6 +166,10 @@ static SLresult OpenSlTest()
}
SLmillibel pLevel = 0;
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);
if (SL_RESULT_SUCCESS != 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.
先完成此消息的编辑!
想要评论请 注册