首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用于CrossPlatform开发的OpenAL

用于CrossPlatform开发的OpenAL
EN

Stack Overflow用户
提问于 2012-05-31 03:10:14
回答 2查看 5.5K关注 0票数 11

OpenAL是一个令人困惑的项目,无法获取相关信息。现在还有官方的OpenAL吗?什么是creativelabs对项目的控制?

我正在寻找一个跨平台的音频库,以支持IOS (iPhones,Ipads),安卓,视窗和Linux。

OpenAL能满足这种需求吗?OpenAL的许可证是什么?尽管我们打算发布一些源代码,但我们没有兴趣因为许可证冲突而被迫这样做。

有足够的证据让我假设它在Android相关链接(Android OpenAL?)上工作,加上谷歌搜索产生了积极的结果。

我意识到Android已经正式支持OpenSL了。然而,安卓似乎是目前唯一支持OpenSL的平台,所以这不是一个选择。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-06-10 05:05:58

我选择了OpenAL-soft和windows下的OpenAL。它们都是相同的接口,所以仍然是一个代码库。

安卓很简单。https://github.com/AerialX/openal-soft-android

IOS甚至更简单。您可以在XCode项目中添加OpenAL.Framework。头位置只是不同(OpenAL/al.h与AL/al.h)。

Linux非常简单。为您的发行版安装openal dev包。

Windows是OpenAL最大的痛处。最后,只需安装creative的原始OpenAL SDK即可。不过,OpenAL在Windows上看起来确实起伏不定。我偶尔会听到一些爆裂声和爆裂声,在其他平台上它都是完美的。在发布之前,我可能会改用OpenAL-soft作为windows发行版。

票数 9
EN

Stack Overflow用户

发布于 2015-09-19 17:34:13

从1.1版开始,Open AL显然不再是自由软件了。以前的Open AL版本(我认为是1.0和之前的版本)有BSD许可证,现在它已经由Creative拥有版权。尽管它是"open“前缀,但它不再是免费的。这是1.1版许可证的第一部分,取自this link的"SDK installer“

代码语言:javascript
复制
    LICENSE
    1.  Grant of License
        The Software is licensed, not sold, to you for use only under the
     terms of this Agreement.  This License Agreement is your proof of 
    license to exercise the rights granted herein and must be retained by 
    you.  As between you and Creative (and, to the extent applicable, its 
    licensors), Creative retains all title to and ownership of the Software 
    and reserves all rights not expressly granted to you.  The license under 
    this Section 1 is conditioned upon your compliance with all of your 
    obligations under this Agreement.  Creative grants to you the right to 
    use all or a portion of this Software provided that:

        (a) the Software is not distributed for profit;
        (b) the Software may NOT be modified;
        (c) all copyright notices are maintained on the Software;
        (d) the licensee/end-user agrees to be bound by the terms of this 
    agreement;
        (e) Creative's BBS/FTP/website are the only on-line sites where 
    Licensee may download electronic files containing the Software; and        
        (f) Licensee shall use the Software solely for the purpose of 
    developing Licensee applications compatible with Creative’s products, 
    unless otherwise agreed to by further written agreement from Creative.

因此,如果您希望使用开源的免版税版本,则只能将其用于open AL的以前版本。我只能从Quake 3的引擎源代码中找到。

您可能想要探索一些其他的替代方案。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10822694

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档