-
Notifications
You must be signed in to change notification settings - Fork 612
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
Comments
/* |
或者使用demo自带的音频测试 |
使用的是项目中的 3.wav,在 iPhone 11 上没有声音,在 macOS 上有声音。 |
|
嘴型有, |
AVAudioSession *audioSession = [AVAudioSession sharedInstance];
[audioSession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker error:nil];
[audioSession setActive:YES error:nil];
设置为扬声器播放
发自我的iPhone
…------------------ 原始邮件 ------------------
From: gavin.tang ***@***.***>
发送时间: 06/21/2024, 16:19
To: GuijiAI/duix.ai ***@***.***>
抄送: songwei01 ***@***.***>, Comment ***@***.***>
Subject: Re: [GuijiAI/duix.ai] iOS 播放没有声音 (Issue #22)
嘴型有,
iPhone 11 -> 17.5.1
iPhone X -> 17.0
这2个机型都不行,可能是工程对iPhone的支持问题?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
下载 demo 能跑起来,但是播放没有声音,而且内存增长飞快,存在内存泄漏
The text was updated successfully, but these errors were encountered: