提交 fd8f4c26 编写于 作者: Z zhoushufang

Add OpenSlTest GetVolumeLevel result

Signed-off-by: Nzhoushufang <zhoushufang@huawei.com>
上级 9f69927c
......@@ -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.
先完成此消息的编辑!
想要评论请 注册