Questions tagged [openal-soft]

OpenAL Soft is a cross-platform, software implementation of OpenAL 3D audio API.

OpenAL Soft is a cross-platform, software implementation of OpenAL 3D audio API.

22 questions
6
votes
0 answers

Cross platform OpenAL SFX

My engine is built to run and OSX, Windows, Linux, Android and iOS; Im using OpenAL to handle 3d sounds. On OSX and iOS I'm using the default library that comes for the platforms and for the rest Im using OpenAL-soft. With OpenAL-soft for sound…
McBob
  • 1,011
  • 2
  • 13
  • 25
5
votes
0 answers

How to play multiple sounds in openal?

I'm trying to make a c++ program that plays 7 sounds together. To do this, I have 7 play button formed by Qt Designer 5.3.1 and whenever I clicked on a pushbutton, it loads the sound to the corresponding buffer. I'm using OpenAL to play the sound.…
Enes Altuncu
  • 449
  • 2
  • 7
  • 14
3
votes
0 answers

"* Missing (or bad) C library: OpenAL32" - from stack build for a haskell project

I have a stack project using Sound.ALUT. The project was building fine on both Windows and Mac before I added sound. (Sound.ALUT is a library layered over OpenAL.) Got thinks working on MacOS but those changes broke the Windows build. Still…
3
votes
1 answer

Functions of Open AL giving error of undefined reference while compiling with g++ in ubuntu

I am completely new to Open AL. So I started with installing Open AL library through command line sudo apt-get install libopenal-dev And also I installed alut installed with this command sudo apt-get install libalut0 libalut-dev Also I forked open…
Souravirus
  • 301
  • 2
  • 14
3
votes
2 answers

Does OpenAL-Soft have an upper limit on the number of sources?

I'm using OpenAL-Soft for a project, and right now I'm trying to decide whether I need to implement OpenAL source pooling. Source pooling is somewhat cumbersome (I need to write code to "allocate" sources, as well as somehow decide when they can be…
nicebyte
  • 1,498
  • 11
  • 21
2
votes
0 answers

Compile OpenAL-Soft Code Examples

I just started with OpenAL-Soft and tried to compile the code examples, especially the alhrtf.c file using terminal command as: g++ alhrtf.c -o hrtf -lalut -lal -lalc -lopenal -std=c++11 I got a bunch of error messages like: alhrtf.c:161:28:…
vktrbhm
  • 35
  • 5
2
votes
1 answer

Native library, required by Java OpenAL

I'm trying to use Java OpenAL library. I have a problem with importing native library called libsoft_oal.so. Java OpenAL is dependent upon OpenAL soft implementation. I tried to build it according to their readme on github and it seems that only…
Jan Beneš
  • 742
  • 1
  • 5
  • 24
1
vote
1 answer

Failed to link openal soft with necessitas

I'm trying to rebuild my Qt app for android, so I choose necessitas. But when I tried linking with openal soft for android(which is staticly build), errors raised: /media/Files/QtCode/AndroidPlayer/libs/armeabi/libopenal.a(android.o): In function…
Roy Willow
  • 21
  • 6
1
vote
0 answers

OpenAL not detecting any playback or capture devices

I have tried to use the OpenAL API to play some 3D spatialized sounds. I can install it on my Raspberry Pi successfully with a simple sudo apt install libopenal1 libopenal-dev but when I try this on Ubuntu 20.04 LTS it will not playback audio and…
Phippsy
  • 62
  • 7
1
vote
1 answer

OpenAL Soft crashes in release mode (debug works fine)

I have created a small sample program in C++ trying to play sounds with OpenAL Soft. The program crashes when compiled in release mode, when compiled in debug mode it works. I'm on OS X using 1.17.2. I get this error message:…
jnsmalm
  • 348
  • 1
  • 4
  • 9
1
vote
1 answer

Can you change your program name listed in volume mixer/sndvol in windows without using Core Audio APIs?

I have been searching for a way to change the name displayed in the Windows volume mixer/sndvol used in Win 7 preferably that would work with Vista as well. This might not be such an issue if I was not using OpenAL-Soft to create my sounds. The…
Plague
  • 11
  • 2
1
vote
2 answers

OpenAL Soft - Loop with Intro

I have been using OpenAL soft for Win32, and I I ran into a particular problem. My goal is to play a looping sound that has a one-shot intro portion, similar to a .WAV file with a loop marker. As I understand it, this must be achieved in OpenAL…
jujumbura
  • 425
  • 3
  • 9
1
vote
0 answers

openal application with visual studio 13 c++ by using qt-5.3.1 Add-in

I'm trying to do an application that plays sound with OpenAL. I'm using Visual Studio 13 c++ with qt-5.3.1 Add-in. My code doesn't give an error but there's no sound. When I debug my code, I realized that when I initialize OpenAL device remains…
Enes Altuncu
  • 449
  • 2
  • 7
  • 14
1
vote
1 answer

Openal Soft + hrtf

I want to use Openal Soft for my Android game to support realistic 3D audio. I would like to use the hrtf functionality of Openal Soft. How do I enable it? Is there some config file I have to modify?
Dirk V.
  • 151
  • 1
  • 10
0
votes
1 answer

Identify OpenAL default playback device name

In OpenAL (or OpenAL Soft) is it possible to get the name of the default playback device? I wrote a simple program to dump the driver and device names on my system, which yields the lists below. OpenAL refers to all of these as "devices", which I…
McGuireV10
  • 9,572
  • 5
  • 48
  • 64
1
2