Positional Audio

Everything about development and the OpenMW source code.
Post Reply
kingtiger01
Posts: 8
Joined: 10 Sep 2013, 01:26

Positional Audio

Post by kingtiger01 »

This might be the wrong place for it(move thread pls, if it is).

How does OpenMW handle positional audio?
Does it rely on openal/sdl to pass relative>position or am i missing something?
Chris
Posts: 1626
Joined: 04 Sep 2011, 08:33

Re: Positional Audio

Post by Chris »

It uses OpenAL to specify sounds' world positions, and the listener position and orientation. OpenAL then handles the rest, automatically calculating the relative direction and distance for proper panning and volume attenuation.
Post Reply