实施音量控制

发布于 2024-12-10 17:41:40 字数 96 浏览 3 评论 0原文

我需要为应用程序实现音量控制。我不知道从哪里开始,因为 CoreAudio 上的文档数量不多,而且我是这方面的初学者。

有没有人有参考资料(除了苹果文档)或例子?

I need to implement a volume control for an app. I have no idea where to start because the docs on CoreAudio aren't great in number, and I'm a beginner with this.

Does anyone have a reference (other than the Apple Docs) or example?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

春庭雪 2024-12-17 17:41:40

本教程有一个关于如何在教程中创建音量控制的示例:

播放音频使用 AVAudioPlayer (iOS 4) 的 iPhone

要参考搜索此组件:

UISlider *volumeControl;

祝你好运!

This tutorial has an example on how to create a volume control within the tutorial:

Playing Audio on an iPhone using AVAudioPlayer (iOS 4)

To reference search for this component:

UISlider *volumeControl;

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文