diff options
Diffstat (limited to 'alc/converter.h')
-rw-r--r-- | alc/converter.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/alc/converter.h b/alc/converter.h index b3ceea9a..17da3aae 100644 --- a/alc/converter.h +++ b/alc/converter.h @@ -49,11 +49,12 @@ SampleConverterPtr CreateSampleConverter(DevFmtType srcType, DevFmtType dstType, struct ChannelConverter { - DevFmtType mSrcType; - DevFmtChannels mSrcChans; - DevFmtChannels mDstChans; + DevFmtType mSrcType{}; + ALuint mSrcStep{}; + ALuint mChanMask{}; + DevFmtChannels mDstChans{}; - bool is_active() const noexcept { return mSrcChans != mDstChans; } + bool is_active() const noexcept { return mChanMask != 0; } void convert(const void *src, float *dst, ALuint frames) const; }; |