openal

AVassetExportSession kills my audio.

Hi all. when I start –exportAsynchronouslyWithCompletionHandler: method of AVassetExportSession my audio is stops playing. I am using AudioQueue and OpenAL they both needs to be restarted after beginning export session. Is There any trick to make them work without restarting audios? ...

AVassetExportSession kills my audio.

Hi all. when I start –exportAsynchronouslyWithCompletionHandler: method of AVassetExportSession my audio is stops playing. I am using AudioQueue and OpenAL they both needs to be restarted after beginning export session. Is there any trick to make them work without restarting audios? Well. Nobody has answered to me, so I will answer myse...

Compiling OpenAL 1.1 SDK\samples\capture sample on Win32 under \clr problem.

So original SLN compiled. I tried it, it worked. But when I am triing to compile it under \clr (which is critical for me). So what I tried was to try playing with compiler options but after fixing general visiable errors I ended with this 3 Error 10 error LNK2028: unresolved token (0A0003BF) "extern "C" int __cdecl _CrtDbgReportW(in...

Playing Sound With OpenAL

Whats the best way to play a sound using OpenAL in xcode 3.2.2 on a 3.1.2 SDK im pulling my brains out at the moment. I've followed ben brittel and mike daley's tutorials on openAL and ive implemented all the things needed to play sound. Basically i creaed a sound manager class with the help of their fantastic tutorials. The only proble...

How do I force Xcode to link to a custom version of a system framework?

I have a project that uses OpenAL. The project is built against the 10.5 SDK, and the version of the OpenAL.framework in 10.5 causes some problems. I want to link to a custom-built version of the OpenAL.framework that resides in my source tree. However, Xcode resolutely refuses to do this. No matter what I try, it insists on linking to ...

iPhone/iPad sound playback with setCurrentTimeFunction. Non AVAudioPlayer.

Hello, I've recently been trying to incorporate an intensive sound management class, where sound playback precision is a must. What I'm looking for is the option to load a sound, set the playback starting position (or playhead), play for a certain time, pause the sound, set the 'playhead' position to a new interval and resume playback a...

Xcode - OpenAL - Getting the current time of a playing sound

Hey everyone, I was wondering if someone could point me in the right direction to creating a function in my openAL singleton class that returns the current time of the sound. Any Ideas? Thanks! (Current time 'while the sound is playing') ...

How can I mix a melody track over the top of my background track?

For simplicity, let's say I have 3 tracks. One always plays, then occaisionally one of the others will also play: [----------Background track----x------] [------------"Good" track------x------] [------------"Evil" track------x------] So at time "x" you will be hearing background+(good/evil), depending on what the player is doing. The ...

Do not get the AudioListenerInterruptionEnd trigger

Hi all, I have a problem with the combination of OpenAl and the MPMoviePlayerController. I registered the AudioInterruptionLister in my OpenAl Setup process. When I start a video the listener receives the AudioListenerInterruptionStarts, but when the movie ends I do not receive the AudioListenerInterruptionEnd trigger. // Register cal...

How to convert WAV audio files for Core Audio playback?

I'm using Core Audio / OpenAL to play CAF audio files. From Apple I know that the best file format is this: Core Audio File Format (CAFF), mono, 16-bit @ 44,1 kHz So I launched Soundtrack Pro 3 and saved an WAV file as an "Core Audio File" with 44,1 kH, 16-bit integer. When I play it back, it is strongly distorted and has a horrible q...

How to adjust the volume of a sound in OpenAL?

How to adjust the volume of a sound in OpenAL? ...

Does iOS OpenAL support directional sound or only positional sound?

Hello, For the 3D iPad app I am writing I want audio to increase/decrease in volume as a single virtual listener turns towards/away-from sound sources. The listener is always stationary. The listener can only rotate. The sounds are always stationary. The sounds fill a sphere of directions around the user. The sounds are all of equal dis...

Best Framework for Audio

I am making an application for iPhone/ipod Touch. In that application I am recording the voice of a human storing it in a file in NSTemporaryDirectory() and then playing it. So far I have used AVAudioPlayer and AVAudioRecorder but after some time when I record it simultaneously it plays the sound I don't know why? And more over my applic...

Hardware accelerated audio decoding with OpenAL

Is it possible to use the iPhone's hardware accelerated decoding of mp3s and AAC when using the OpenAL library? I suppose there are two possible approaches if this is possible. iPhone specific OpenAL extensions. iPhone APIs to decode audio into raw bytes. I have two specific use cases. Completely decode a short sound bite. Piecewise ...

maximum number of OpenAL sound buffers on iPhone

I'm writing a sound library, for the iPhone, that uses OpenAL. The app generates a unique buffer id for each sound, during startup. The problem that I'm having is that OpenAL is unable to generate more than 1024 buffer ids. I would've thought that the total number of buffer ids would've been limited by memory, not by some pre-determin...

Installing openGL and openAL in ubuntu

Hi, Please tell me how to install openGL (with GLUT) and openAL (with ALUT) in ubuntu lucid lynx. I tried installing Mesa 7.8.2 using configure and make (the method told in www.mesa3d.org), but it is not installing anything. X.org's X is installed in my system, but there is no /usr/X11R6 directory. Is that a problem? Please help me soon....

openal pitch shift.

Can anyone tell me why the volume becomes lower when I make the pitch higher in openal? The higher the pitch, the lower the volume..... alSourcef(source, AL_PITCH, 1.2f); alSourcef(source, AL_GAIN, 1.0f); with this setting, the volume is still very very low. is there a way to cheat it to make the gain above 1? Maybe this has somethin...

Why does my openAL source stop playing sometimes?

I am using the ObjectAL library to play 50 odd buffers through 32 sources. I use the ObjectAL sourcepool to give me available sources. What I find is that sometimes I get a source back that does not play. I believe I am resetting everything on the source and associating a new buffer. What I have noticed is that after a call to alSourc...

How to set channel gain in OpenAL?

I tried alBufferf (myChannelId, AL_MAX_GAIN (and AL_GAIN), volumeValue); and got error 0xA002. ...

Best way to suppress OpenGL ES (iPhone) texture / OpenAL sounds memory footprint?

What should i do? I have some 512x512 png. I compressed them to PVR (which results terrible quality), and I'm preparing to compress the PNGs with pngcrush tool. The PVRs have about 2x-x larger filesize than the PNGs, maybe I can experiment with JPG files. Are the images stored in a compressed state in memory? Or compression counts only ...