From a44f41703f7fc7f21f7362b9894390da82b6f302 Mon Sep 17 00:00:00 2001 From: jiaoyanlin3 Date: Thu, 30 Mar 2023 17:23:07 +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 677c6d84d3..653cc72e31 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