Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 播放没有声音 #22

Open
gavin-tang opened this issue Jun 21, 2024 · 7 comments
Open

iOS 播放没有声音 #22

gavin-tang opened this issue Jun 21, 2024 · 7 comments

Comments

@gavin-tang
Copy link

下载 demo 能跑起来,但是播放没有声音,而且内存增长飞快,存在内存泄漏

@songwei01
Copy link
Collaborator

/*
*wavPath 音频的本地路径
*1通道 16位深 16000采样率的wav本地文件
/
-(void)toSpeakWithPath:(NSString
)wavPath;

@songwei01
Copy link
Collaborator

或者使用demo自带的音频测试

@songwei01
Copy link
Collaborator

我这边下载demo测试 内存在295M左右 CPU最高在55%左右
3

@gavin-tang
Copy link
Author

使用的是项目中的 3.wav,在 iPhone 11 上没有声音,在 macOS 上有声音。

@songwei01
Copy link
Collaborator

使用的是项目中的 3.wav,在 iPhone 11 上没有声音,在 macOS 上有声音。
您的系统版本?有嘴形吗?

@gavin-tang
Copy link
Author

嘴型有,
iPhone 11 -> 17.5.1
iPhone X -> 17.0
这2个机型都不行,可能是工程对iPhone的支持问题?

@songwei01
Copy link
Collaborator

songwei01 commented Jun 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants