From 0f336f90c66361bafe2f92e875063e131d31d027 Mon Sep 17 00:00:00 2001 From: jiaoyanlin3 Date: Thu, 30 Mar 2023 17:32:10 +0800 Subject: [PATCH] Description of openSLES interface development Signed-off-by: jiaoyanlin3 --- .../reference/native-lib/third_party_opensles/opensles.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/reference/native-lib/third_party_opensles/opensles.md b/zh-cn/application-dev/reference/native-lib/third_party_opensles/opensles.md index 653cc72e31..9912b1160c 100644 --- a/zh-cn/application-dev/reference/native-lib/third_party_opensles/opensles.md +++ b/zh-cn/application-dev/reference/native-lib/third_party_opensles/opensles.md @@ -8,9 +8,9 @@ OpenSLES(Open Sound Library for Embedded System)即嵌入式音频加速标 |对象 |对外接口 |接口调用详情 |是否支持 |说明 | | ------------------ | -------------------- | -------------------------------------------------------------------------------------|----------| -------------------- | -|SLEngineItf |CreateAudioPlayer |CreateAudioPlayer(SLEngineItf self,
SLObjectItf *pPlayer, SLDataSource *pAudioSrc,
SLDataSink *pAudioSnk, SLuint32 numInterfaces,
const SLInterfaceID *pInterfaceIds,
const SLboolean *pInterfaceRequired) |是 |创建音频播放机。 | -|SLEngineItf |CreateAudioRecorder |reateAudioRecorder(SLEngineItf self,
SLObjectItf *pRecorder, SLDataSource *pAudioSrc,
SLDataSink *pAudioSnk, SLuint32 numInterfaces,
const SLInterfaceID *pInterfaceIds,
const SLboolean *pInterfaceRequired)|是 |创建音频录制器。 | -|SLEngineItf |CreateAudioOutputMix |CreateOutputMix(SLEngineItf self,
SLObjectItf *pMix, SLuint32 numInterfaces,
const SLInterfaceID *pInterfaceIds,
const SLboolean *pInterfaceRequired)|是 |创建混音器。 | +|SLEngineItf |CreateAudioPlayer |CreateAudioPlayer(SLEngineItf self, SLObjectItf *pPlayer, SLDataSource *pAudioSrc, SLDataSink *pAudioSnk, SLuint32 numInterfaces, const SLInterfaceID *pInterfaceIds, const SLboolean *pInterfaceRequired) |是 |创建音频播放机。 | +|SLEngineItf |CreateAudioRecorder |reateAudioRecorder(SLEngineItf self, SLObjectItf *pRecorder, SLDataSource *pAudioSrc, SLDataSink *pAudioSnk, SLuint32 numInterfaces, const SLInterfaceID *pInterfaceIds, const SLboolean *pInterfaceRequired)|是 |创建音频录制器。 | +|SLEngineItf |CreateAudioOutputMix |CreateOutputMix(SLEngineItf self, SLObjectItf *pMix, SLuint32 numInterfaces, const SLInterfaceID *pInterfaceIds, const SLboolean *pInterfaceRequired)|是 |创建混音器。 | |SLObjectItf |Realize |Realize(SLObjectItf self, SLboolean async) |是 |创建音频播放机。 | |SLObjectItf |getState |GetState(SLObjectItf self, SLuint32 *state) |是 |获取状态。 | |SLObjectItf |getInterface |GetInterface(SLObjectItf self, const SLInterfaceID iid, void *interface) |是 |获取接口。 | -- GitLab