提交 1c307666 编写于 作者: 1 15754133731

<audio修改>

Signed-off-by: N15754133731 <chenjiahuan@huawei.com>
...@@ -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.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部