ubuntu 与 SDL 的问题

发布于 2024-07-06 14:35:28 字数 193 浏览 6 评论 0原文

我正在尝试学习使用 SDL 来编写我正在编写的小游戏,但我遇到了问题。 一个应用程序可以在我的系统上的给定时间播放声音。 例如,如果我有 amarok 或 kaffeine(甚至在播放 Flash 视频时有 firefox),则没有其他应用程序可以播放声音。 我发现的唯一解决方案是在给定时间仅运行一个应用程序,但是,这似乎不是一个自然的解决方案。 有什么提示吗?

I'm trying to learn to use SDL for a little game I'm writing , but I have a problem . One single application can play sound at a given time on my system . If for example I have amarok or kaffeine ( or even firefox while playing a flash video ) , no other application can play sound . The only solution I've found is to run just an application at a given time , but , that doesn't seems like a natural solution .
Any hints ?

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

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

发布评论

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

评论(1

梦回旧景 2024-07-13 14:35:28

我从你的标签中看到你正在使用 Ubuntu Hardy Heron (8.04)。 此版本下的脉冲音频存在一些音频问题,已知这些问题会影响 flash/firefox,也可能影响您的其他应用程序。 请参阅 https://wiki.ubuntu.com/PulseAudio 上的“已知问题”。

确实存在各种解决方法(请参阅链接),但它们并不是很令人满意。 Ubuntu 因发布 8.04 且未解决此问题而受到一定程度的批评。

I see from your tag that you're using Ubuntu Hardy Heron (8.04). There are some audio issues with pulse audio under this version, which are known to affect flash/firefox and maybe your other applications as well. See 'Known issues' on https://wiki.ubuntu.com/PulseAudio.

Workarounds of sorts do exist (see the link), but they're not very satisfactory. Ubuntu has come under a certain amount of criticism for releasing 8.04 with this issue unresolved.

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