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

OpenAL and Audio Unit clashing

I have an audio unit with a callback from the mix input. This works correctly and records fine. The moment I open another view that uses ObjectAL (OpenAL), going back to the ViewController that records from the mic input causes the following error…
some_id
  • 29,466
  • 62
  • 182
  • 304
0
votes
3 answers

How to approach audio project

I want to create an iOS app that records or takes audio from a file, gives the use the choice to apply a filter and plays said audio back with the filter applied. I'm however completely unsure about how to approach this project. How do I best modify…
Mauin
  • 483
  • 3
  • 12
0
votes
1 answer

CocosDenshion: why isPlaying always false (I can hear the music)?

I have this: -(ALuint)ID { return self.soundSource->_sourceId; } -(void)play { [self.engine playSound:self.soundSource.soundId sourceGroupId:0 pitch:self.pitch pan:1.0 …
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
0
votes
1 answer

Play stream in OpenAL library

I need to play stream in OpenAL. But i dont understand what i need to do with buffers and source. My pseudocode: FirstTime = true; while (true) { if (!FirstTime) { …
Alexander Mashin
  • 693
  • 3
  • 14
  • 34
0
votes
1 answer

Play stream sound OpenAL

I need to play stream sound with OpenAL. This is my code, but it's not working. What i need to do? device = alcOpenDevice(NULL); // ofstream file; file.open("TESTSPEAKER", std::ios_base::binary); context =…
Alexander Mashin
  • 693
  • 3
  • 14
  • 34
0
votes
1 answer

iOS - Open AL - Multiple sources or Multiple Buffers

I'm new to Open AL. In my iOS application, I've to play multiple audio files (parallel) which are basically animal/bird sounds of duration 2 to 3 seconds only. In my view, I've different animal buttons. User can tap a button and that animal sound…
Satyam
  • 15,493
  • 31
  • 131
  • 244
0
votes
1 answer

OpenAL output sound 5.1

In my project I'm using OpenAl, the 3d effect works fine, but only with the left/right speakers.. my pc have a 5.1 system, so 2 rear speakers, 2 front, 1 head and 1 subwoofer. in windows is right configured, so if I see a movie or play a game that…
ghiboz
  • 7,863
  • 21
  • 85
  • 131
0
votes
2 answers

Play sound with OpenAL

I don't understand how I can play sound with OpenAL library. I write program for VoIP. I'm getting every 10ms sound buffer. size_t len = socket.read_some(boost::asio::buffer(buf),error); buf is boost::array buf; And that I need to do…
Alexander Mashin
  • 693
  • 3
  • 14
  • 34
0
votes
1 answer

Playing multiple audio files using OpenAL

I have more than 20 small (around 3 seconds duration) audio files related to animals & birds. I want to play those audio files continuously at regular interval. For example, audio 1 has to loop after every 10 seconds, audio 2 has to loop after every…
Satyam
  • 15,493
  • 31
  • 131
  • 244
0
votes
1 answer

OALSimple Audio Channeling

I am using OALSimpleAudio and I have a group of sounds that play in my app and I am trying to group this set of sounds into a "channel" then affect the groups pitch through that specific channel. -(IBAction)sample001 { self.sourceSample001 =…
Sean Herman
  • 313
  • 2
  • 15
0
votes
1 answer

How I can recording sound with OpenAL

I need to record sound with MMSYSTEM, for this I'm using OpenAL library. After recording I will send the sound buffer to the network(VoIP). To begin with, I wrote some code to record sound and write this to file. But my code isn't working correctly.…
Alexander Mashin
  • 693
  • 3
  • 14
  • 34
0
votes
0 answers

Handling interruptions while playing audio using OpenAL, RemoteIO and AVPlayer simultaneously

I am developing an app that requires playing audio using OpenAL, RemoteIO and AVPlayer simultaneously. I am also handling interruptions the way it is mentioned according to Apple's guidelines here:…
Bijoy Thangaraj
  • 5,434
  • 4
  • 43
  • 70
0
votes
2 answers

Sampling audio levels with OpenAL

Is it possible to sample the audio playback volume in real-time with OpenAL? Specifically, I'm using OpenAL in the iPhone SDK.
wdlindmeier
  • 41
  • 1
  • 7
0
votes
1 answer

Open Al recording and playing back audio - C++

Im trying to record audio with open al, and then save the file and then play it back. I have searched the web for 5 hours without any luck in finding an example. Could someone please help.
user1794021
  • 373
  • 3
  • 5
  • 9
0
votes
1 answer

nacl openal example doesn't work on Windows

I'm having trouble getting openal sound working on Win7. I've built the naclports openal-ogg example against pepper_23 on a Mac machine, and then run them in Win7 Chrome. The result is skipping sound, and I get the following spit out to stderr: AL…
Chris
  • 1,522
  • 1
  • 12
  • 19