aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-09 23:35:17 -0800
committerChris Robinson <[email protected]>2012-02-09 23:35:17 -0800
commitef68aa39f860bf93f6c566f0f5dd98e040cfe5f4 (patch)
tree7a7ae9ae71f1d8517d67bc4d4f78d7aa7e0131b8 /OpenAL32/alSource.c
parentb4b492c4171616310813316775244705e20c45ca (diff)
Rename non_virtual_channels to direct_channels
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 982da4c4..eefca756 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -706,10 +706,10 @@ AL_API ALvoid AL_APIENTRY alSourcei(ALuint source,ALenum eParam,ALint lValue)
alSetError(pContext, AL_INVALID_VALUE);
break;
- case AL_VIRTUAL_CHANNELS_SOFT:
+ case AL_DIRECT_CHANNELS_SOFT:
if(lValue == AL_TRUE || lValue == AL_FALSE)
{
- Source->VirtualChannels = lValue;
+ Source->DirectChannels = lValue;
Source->NeedsUpdate = AL_TRUE;
}
else
@@ -838,7 +838,7 @@ AL_API void AL_APIENTRY alSourceiv(ALuint source, ALenum eParam, const ALint* pl
case AL_AUXILIARY_SEND_FILTER_GAIN_AUTO:
case AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO:
case AL_DISTANCE_MODEL:
- case AL_VIRTUAL_CHANNELS_SOFT:
+ case AL_DIRECT_CHANNELS_SOFT:
alSourcei(source, eParam, plValues[0]);
return;
@@ -1211,8 +1211,8 @@ AL_API ALvoid AL_APIENTRY alGetSourcei(ALuint source, ALenum eParam, ALint *plVa
*plValue = (ALint)Source->DopplerFactor;
break;
- case AL_VIRTUAL_CHANNELS_SOFT:
- *plValue = Source->VirtualChannels;
+ case AL_DIRECT_CHANNELS_SOFT:
+ *plValue = Source->DirectChannels;
break;
case AL_DISTANCE_MODEL:
@@ -1317,7 +1317,7 @@ AL_API void AL_APIENTRY alGetSourceiv(ALuint source, ALenum eParam, ALint* plVal
case AL_AUXILIARY_SEND_FILTER_GAIN_AUTO:
case AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO:
case AL_DISTANCE_MODEL:
- case AL_VIRTUAL_CHANNELS_SOFT:
+ case AL_DIRECT_CHANNELS_SOFT:
alGetSourcei(source, eParam, plValues);
return;
@@ -1824,7 +1824,7 @@ static ALvoid InitSourceParams(ALsource *Source)
Source->AirAbsorptionFactor = 0.0f;
Source->RoomRolloffFactor = 0.0f;
Source->DopplerFactor = 1.0f;
- Source->VirtualChannels = AL_TRUE;
+ Source->DirectChannels = AL_FALSE;
Source->DistanceModel = AL_INVERSE_DISTANCE_CLAMPED;