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
11
votes
1 answer

iOS5 openAL mute switch and volume controls

I am currently using openAL for audio playback in my app and having problems with the audio responding to the mute switch and audio volume controls in iOS 5. I have set up an audio session category for ambient sound and it operates correctly pre-iOS…
11
votes
3 answers

Weird popping noise when playing different sounds with different volumes set through OpenAL on the iPhone

I'm using OpenAL sound framework on the iPhone, and I'm setting different volumes on individual sounds. I'm running into a problem where I'm hearing an initial popping/clicking noise when switching from one sound to the next. It's really noticeable…
c0dec0de
  • 373
  • 1
  • 4
  • 12
11
votes
6 answers

What kind of routes could I get back from kAudioSessionProperty_AudioRoute property?

Apple guy tried to be funny and wrote in the docs: ("Headphone," "Speaker," etc.) What kind of return values are possible in reality?
dontWatchMyProfile
  • 45,440
  • 50
  • 177
  • 260
11
votes
2 answers

OpenAL for CrossPlatform Development

OpenAL is one confusing project to pull up relevant information on. Is there an official OpenAL anymore? What is creativelabs control over the project? I am looking for a cross platform audio library to support IOS (iPhones, Ipads), Android,…
Halsafar
  • 2,540
  • 4
  • 29
  • 52
9
votes
2 answers

How to adjust the volume of a sound in OpenAL?

How can I adjust the volume of a sound in the OpenAL sound library?
openfrog
  • 40,201
  • 65
  • 225
  • 373
9
votes
6 answers

Open Source sound engine

When I started using SoundEngine (from CrashLanding and TouchFighter), I had read about a few people recommending not to use it, for it was, according to them, not stable enough. Still it was the only solution I knew of to play sounds with pitch and…
Steph Thirion
  • 9,313
  • 9
  • 50
  • 58
9
votes
1 answer

OpenAL device, buffer and context relationship

I'm trying to create an object oriented model to wrap OpenAL and have a little problem understanding the devices, buffers and contexts. From what I can see in the Programmer's Guide, there are multiple devices, each of which can have multiple…
sunside
  • 8,069
  • 9
  • 51
  • 74
9
votes
2 answers

Go, OpenAL, DirectSound and Heisenbug

I've already killed a week trying to solve a mysterious problem in a project of mine and I am out of ideas. I wrote a Go package intended to play sounds which wraps OpenAL... pretty basic stuff. I got it working on my Xubuntu 14.04 (32-bit), so I…
MilanV
  • 129
  • 1
  • 8
9
votes
2 answers

How can I use AVAudioPlayer to play audio faster *and* higher pitched?

Statement of Problem: I have a collection of sound effects in my app stored as.m4a files (AAC format, 48 KHz, 16-bit) that I want to play at a variety of speeds and pitches, without having to pre-generate all the variants as separate files. Although…
Todd Lehman
  • 2,880
  • 1
  • 26
  • 32
8
votes
1 answer

openAL tutorial for Mac OS X

I need tools to learn how to use OpenAL in Mac OS X applications. I have done a decent amount of iOS and Mac development, and am usually good at learning new things quickly. could anyone supply a site or two that would have some tutorials?
user663425
  • 275
  • 1
  • 5
  • 11
8
votes
2 answers

Reverb with OpenAL on iOS

Is there any possible way to do reverb using OpenAL on iOS? Anyone have any code snippets to achieve this effect? I know it's not included in the OpenAL library for iOS, but I would think there's still a way to program it in. Thanks.
c0dec0de
  • 373
  • 1
  • 4
  • 12
8
votes
0 answers

Issue with OpenAL on iPhone - using alcOpenDevice on two apps

I have a problem I thought I'd ask about here. I implemented OpenAL in two of my apps. Problem is if one app is running in the background (i.e. I launched it, then pressed the HOME button to launch the other one) - when I launch the other one…
Shimon Shnitzer
  • 173
  • 1
  • 11
7
votes
3 answers

How to adjust the Head-related transfer function (HRTF) in OpenAL or Core Audio?

OpenAL makes use of HRTF algorithms to fake surround sound with stereo headphones. However, there is an important dependency between HRTF and the shape of the users head and ears. Simplified, this means: If your head / ears differ too much from the…
Proud Member
  • 40,078
  • 47
  • 146
  • 231
7
votes
1 answer

OpenAL: How to use linear attenuation?

I want to control the way how the sound source volume fades out by distance, how can i do this? Edit: I would also like to know how to scale the sound coordinate system accordingly: i dont want to hear some sound VERY far away from the source: now i…
Rookie
  • 1,242
  • 3
  • 17
  • 22
7
votes
1 answer

MP3 streaming on iOS

I want to use OpenAL to play music in an iOS game. The music files are stored in mp3 format and I want to stream them using a buffer queue. I load audio data into the buffers using AudioFileReadPacketData(). However playing the buffers only gives me…
Marvin Killing
  • 2,495
  • 2
  • 19
  • 17
1
2
3
39 40