Avoid confusing */*...*/ syntax

MSVC warns about */ being outside of a comment.
This commit is contained in:
Chris Robinson 2020-09-05 14:28:08 -07:00
parent 7e3fed42ed
commit c1ad5d6055

View File

@ -175,8 +175,8 @@ struct EffectState : public al::intrusive_ref<EffectState> {
* wish to hold on to it, as there's no guarantee the buffer won't be * wish to hold on to it, as there's no guarantee the buffer won't be
* deleted or altered during a mix. * deleted or altered during a mix.
*/ */
virtual EffectBufferBase *createBuffer(const ALCdevice */*device*/, virtual EffectBufferBase *createBuffer(const ALCdevice* /*device*/,
const BufferStorage &/*buffer*/) const BufferStorage& /*buffer*/)
{ return nullptr; } { return nullptr; }
virtual void update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) = 0; virtual void update(const ALCcontext *context, const ALeffectslot *slot, const EffectProps *props, const EffectTarget target) = 0;
virtual void process(const size_t samplesToDo, const al::span<const FloatBufferLine> samplesIn, const al::span<FloatBufferLine> samplesOut) = 0; virtual void process(const size_t samplesToDo, const al::span<const FloatBufferLine> samplesIn, const al::span<FloatBufferLine> samplesOut) = 0;
@ -184,7 +184,7 @@ struct EffectState : public al::intrusive_ref<EffectState> {
struct EffectStateFactory { struct EffectStateFactory {
virtual ~EffectStateFactory() { } virtual ~EffectStateFactory() = default;
virtual EffectState *create() = 0; virtual EffectState *create() = 0;
virtual EffectProps getDefaultProps() const noexcept = 0; virtual EffectProps getDefaultProps() const noexcept = 0;