2012-05-30 4 views
11

OpenAL은 관련 정보를 끌어 올 수있는 혼란스러운 프로젝트입니다. 더 이상 공식 OpenAL이 있습니까? 프로젝트에 대한 창의력은 무엇입니까?CrossPlatform 개발 용 OpenAL

IOS (iPhone, Ipads), Android, Windows 및 Linux를 지원하는 교차 플랫폼 오디오 라이브러리를 찾고 있습니다.

OpenAL이 필요합니까? OpenAL의 라이센스는 무엇입니까? 소스 코드의 일부를 공개하려고하지만 라이센스 충돌로 인해 강제되는 것에 관심이 없습니다.

Android에서 작동한다고 가정하는 충분한 증거가 있습니다. 관련 링크 (Android OpenAL?)와 Google 검색이 긍정적 인 결과를 산출합니다.

Android가 OpenSL을 공식적으로 지원한다는 사실을 알고 있습니다. 그러나 안드로이드는 현재 OpenSL을 지원하는 유일한 플랫폼 인 것처럼 보입니다. 그래서 이것은 옵션이 아닙니다.

+1

PortAudio가 iOS 및 Android를 지원하는지 확인할 수 있습니다. def는 Windows, Linux 및 MacOS X를 지원하지만 OpenAL보다 낮은 레벨 일 수 있습니다. PA는 훌륭한 BSD와 비슷한 라이센스를 가지고 있습니다. 나는 누군가가 안드로이드에 대한 PA 지원을하고 있다고 생각하며, iOS에 대한 지원이 없다고 확신하지만, 구형 Mac OS X 코드를 사용하고 iOS를 거기에서 작동시키지 않아야한다. rtaudio도 있습니다. rtaudio는 더 나아질 수 있습니다. 또한 콘크리트 및 오픈 프레임 워크가 사용하는 것을 볼 수 있습니다. –

답변

9

Windows 용 OpenAL-soft 및 OpenAL과 함께했습니다. 그것들은 모두 동일한 인터페이스이므로 여전히 하나의 코드베이스입니다.

Android가 쉬웠습니다. https://github.com/AerialX/openal-soft-android

IOS가 훨씬 쉬워졌습니다. OpenAL.Framework를 XCode 프로젝트에 추가 할 수 있습니다. 헤더 위치는 단지 다릅니다 (OpenAL/al.h 대 AL/al.h).

Linux는 매우 쉽습니다. 배포판 용 openal dev 패키지를 설치하십시오.

Windows는 OpenAL에서 가장 큰 고통이었습니다. 결국에는 독창적 인 OpenAL SDK를 설치하십시오. OpenAL은 Windows에서 매우 불안정한 것처럼 보입니다. 나는 갑자기 터지는 소리를 내고 지금은 다른 모든 플랫폼에서 완벽합니다. 출시 전 Windows 배포판의 OpenAL-soft로 전환 할 수 있습니다.

+2

Windows에서 openal-soft로 어떤 문제가 있었습니까? – rogerdpack

1

버전 1.1 이후 오픈 AL은 더 이상 자유 소프트웨어가 아닙니다. 이전 버전의 Open AL (1.0 이전 버전)에는 BSD 라이센스가 있었지만 지금은 Creative가 저작권을 소유하고 있습니다. 접두사가 "열린"상태 임에도 불구하고 더 이상 무료가 아닙니다.

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. 
그래서

당신이 오픈 소스 로열티 무료 버전을 사용하려는 경우, 당신은 단지 이전 버전을 사용할 수 있습니다 : 여기 this link에서 "SDK 설치"에서 가져온 1.1에 대한 라이센스의 첫 번째 섹션이며, Open AL의 Quake 3의 엔진 소스 코드에서만 찾을 수 있습니다.

다른 대안을 찾아 볼 수 있습니다.