From 28f80fa113be3488e98abb9fd6863277d2b94180 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 17 Dec 2007 19:40:43 -0800 Subject: Add AL_METERS_PER_UNIT listener property --- Alc/ALc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index f8cf5232..c3dd083e 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -340,6 +340,7 @@ static ALvoid InitContext(ALCcontext *pContext) { //Initialise listener pContext->Listener.Gain = 1.0f; + pContext->Listener.MetersPerUnit = 1.0f; pContext->Listener.Position[0] = 0.0f; pContext->Listener.Position[1] = 0.0f; pContext->Listener.Position[2] = 0.0f; -- cgit v1.2.3