public Band(BassParametricEqualizerStreamComponentBehaviour behaviour, string id, int index, int center) { this.Behaviour = behaviour; this.Id = id; this.Index = index; this.Center = center; }
public BassParametricEqualizerStreamComponent(BassParametricEqualizerStreamComponentBehaviour behaviour, BassOutputStream stream) { if (BassUtils.GetChannelDsdRaw(stream.ChannelHandle)) { throw new InvalidOperationException("Cannot apply effects to DSD streams."); } this.Behaviour = behaviour; this.Rate = behaviour.Output.Rate; this.Channels = stream.Channels; this.Flags = BassFlags.Decode; if (this.Behaviour.Output.Float) { this.Flags |= BassFlags.Float; } }