aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-03-10 01:04:28 -0800
committerChris Robinson <[email protected]>2016-03-10 01:04:28 -0800
commiteffb9d1e35ab3679daa6314ffecfc4d71dc4cdf7 (patch)
tree7f6937dcc519b6f6fdc139a5a4ddf98286db091e /Alc/panning.c
parenta45715751640992e8caeac8c36b5ecb23ba3c190 (diff)
Keep track of the real output's channel names
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 8ac1d4d2..beb928d9 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -557,6 +557,9 @@ ALvoid aluInitPanning(ALCdevice *device)
return;
}
+ for(i = 0;i < MAX_OUTPUT_CHANNELS;i++)
+ device->Dry.ChannelName[i] = device->RealOut.ChannelName[i];
+
if(LoadChannelSetup(device))
return;