diff options
author | Chris Robinson <[email protected]> | 2018-11-18 08:01:50 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-18 08:01:50 -0800 |
commit | 8b8f01e25d31e7874acb5af7e0c3c7c801497410 (patch) | |
tree | 87656be5fa086259978724dbdda186439a93fc63 /Alc/backends/portaudio.cpp | |
parent | 336b7b77999fec857093c82c050c96b8ead3cb97 (diff) |
Avoid more cases of an enum variable and type name clash
Diffstat (limited to 'Alc/backends/portaudio.cpp')
-rw-r--r-- | Alc/backends/portaudio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/portaudio.cpp b/Alc/backends/portaudio.cpp index be5f30c4..f8506baa 100644 --- a/Alc/backends/portaudio.cpp +++ b/Alc/backends/portaudio.cpp @@ -397,7 +397,7 @@ ALCenum ALCportCapture_open(ALCportCapture *self, const ALCchar *name) samples = device->UpdateSize * device->NumUpdates; samples = maxu(samples, 100 * device->Frequency / 1000); - frame_size = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->AmbiOrder); + frame_size = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->mAmbiOrder); self->ring = ll_ringbuffer_create(samples, frame_size, false); if(self->ring == nullptr) return ALC_INVALID_VALUE; @@ -431,7 +431,7 @@ ALCenum ALCportCapture_open(ALCportCapture *self, const ALCchar *name) ERR("%s samples not supported\n", DevFmtTypeString(device->FmtType)); return ALC_INVALID_VALUE; } - self->params.channelCount = ChannelsFromDevFmt(device->FmtChans, device->AmbiOrder); + self->params.channelCount = ChannelsFromDevFmt(device->FmtChans, device->mAmbiOrder); err = Pa_OpenStream(&self->stream, &self->params, nullptr, device->Frequency, paFramesPerBufferUnspecified, paNoFlag, |