Beispiel #1
0
 public Band(BassParametricEqualizerStreamComponentBehaviour behaviour, string id, int index, int center)
 {
     this.Behaviour = behaviour;
     this.Id        = id;
     this.Index     = index;
     this.Center    = center;
 }
Beispiel #2
0
 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;
     }
 }