Questions tagged [openal]

OpenAL (Open Audio Library) is a cross-platform audio API that allows for efficient rendering of environmental, 3D positional audio.

OpenAL (Open Audio Library) is a cross-platform audio API that allows for efficient rendering of environmental, 3D positional audio.

OpenAL utilizes an extension mechanism in order to allow vendors to provide additional functionality.

It is often in games through extensions such as LWGJL.

594 questions
0
votes
1 answer

Java heap error when loading Sounds using Slick2D

I am writing a game using LWJGL and Slick2D. I just recently got into a place that I can't get out of. I have tried to load and play a OGG audio file that is 3.2MB in size (if this counts, the file was originally MP3, but because of the licensing…
pjrader1
  • 491
  • 7
  • 22
0
votes
1 answer

Packging LEFT and RIGHT channel data

I am decoding FLAC audio into memory, and passing the decoded audio data to the OpenAL: void alBufferData (ALuint bufferName, ALenum format, const ALvoid *data, ALsizei size, ALsizei frequency); The data from the decoded audio goes into mine…
8-bitButterfly
  • 203
  • 2
  • 13
0
votes
1 answer

OpenAL alcOpenDevice hangs

I am using openAl for audio and I recently encountered an issue where during initialisation my program will hang at the following line: "ALCdevice* device = alcOpenDevice(NULL);" I haven't had much luck in searching for a solution (most people have…
ajso
  • 73
  • 7
0
votes
1 answer

OpenAl and Alut for making a Sound Manager

I have been at this for quite a while. I am using C# for Serious Game Programing, and am working on the SoundManager code found in Chapter 9 of the book, if you want an exact reference. The Code is setting up a sound manager using OpenAl, and I am…
0
votes
1 answer

Is HRTF always on when using OpenAL?

I want to have my app process positional audio and make a binaural mix for those wearing headphones. From what I can tell as soon as I position the listener and the audio source, if I'm using OpenAL it will automatically go for HRTF, but I'm not…
awfulcode
  • 597
  • 5
  • 12
0
votes
1 answer

libGDX, JRuby, and warble causes crash and OpenAL error

I have a little test program written in JRuby that makes a black window with lwjgl and libGDx. It all works fine and dandy if I run it from the command line but, if I use warble to pack it in a jar it gives gives me this error AL lib: alc_cleanup: 1…
benbot
  • 1,217
  • 1
  • 12
  • 28
0
votes
1 answer

how to use open sound libraries OpenAL(freealut ) in eclispe IDE?

I successfully installed the OpenAL the with the following command: yum install freealut freealut-devel But the problem after this I add some c++ codes to work with this libraries as below: #include #include
Clickmit Wg
  • 523
  • 2
  • 9
  • 25
0
votes
1 answer

Iphone OpenAL looping sound not restarting after pause

I'm using something like this to start a looping sound: if (m_pSource == OS_INVALID_SOUND) { alGenSources(1, &m_pSource);AL_CHECK alSourcei(m_pSource, AL_BUFFER, m_pBuffer); if (Is3D()) { SetMinDistance(m_minDistance); …
Sulea Cosmin
  • 598
  • 1
  • 11
  • 24
0
votes
1 answer

What Format is Sound Stored in? OpenAL / SFML

I know how to make a sf::SoundBuffer and stuff like that, but how do I, for example, create a short pitch noise programmatically that SFML would be able to read. Or how would I go over creating a noise that gradually increases in volume or gets…
Jeroen
  • 15,257
  • 12
  • 59
  • 102
0
votes
1 answer

How to install OpenAL on Ubuntu with Netbeans? - C++

I have the Netbeans IDE installed on my Ubuntu machine. I have the libopenal-dev installed trough the console and I can confirm the header files are in place. How do I configure Netbeans to build a program with OpenAL? Like do I need to set extra…
Jeroen
  • 15,257
  • 12
  • 59
  • 102
0
votes
1 answer

OpenAL alcCaptureOpenDevice crashes on Blackberry Q10

Q10 firmware: 10.1.0.4285 I'm trying to use OpenAL to capture sound, but on Q10 I've got problem that cannot open capture device. Open capture device on simulator (v10_1_X.1483) is OK though (I haven't tested actual sound capturing yet). Below is my…
Yaiba
  • 571
  • 7
  • 14
0
votes
1 answer

OpenAL sound stops OpenGL from drawing

I have a scene that is modified when mouse left button is clicked. My problem is: this modified scene was supposed to appear with a sound, but the scene waits the sounds to finish before it renders itself. I'm using this function: do { …
Frank
  • 241
  • 1
  • 2
  • 8
0
votes
1 answer

parasite logging using Everyplay with OpenAL

I'm having trouble with Everyplay v1.4.2 used with OpenAL. The behaviour works fine but everytime a sound is playing, I get a log saying : "Everyplay OpenAL missing implementation: alGetSourcef 2401, AL_SEC_OFFSET, *value". I have also tried…
Friedrik
  • 389
  • 1
  • 2
  • 12
0
votes
1 answer

alutCreateBufferHelloWorld () in openal

i need your help again in programing the openal i am new in programing in general >>and start to learn openal by vc++ 6 and i am learning it from the doc that attachment with sdk1.1 and have this program #include #include…
maiajam
  • 19
  • 1
0
votes
2 answers

OpenAL unqueueing error code, incomplete documentation

I am trying to implement streaming audio and I've run into a problem where OpenAL is giving me an error codes seems impossible given the information in the documentation. int buffersProcessed = 0; alGetSourcei(m_Source, AL_BUFFERS_PROCESSED,…
Tim R.
  • 1,570
  • 2
  • 15
  • 33