예제 #1
0
            private uint GetNBands()
            {
                if (equalizer == null)
                {
                    return(0);
                }

                return(ChildProxyAdapter.GetObject(equalizer).ChildrenCount);
            }
예제 #2
0
 public void SetEqualizerGain(uint band, double value)
 {
     if (equalizer != null)
     {
         if (band >= GetNBands())
         {
             throw new ArgumentOutOfRangeException("band", "Attempt to set out-of-range equalizer band");
         }
         Gst.Object the_band = ChildProxyAdapter.GetObject(equalizer).GetChildByIndex(band);
         the_band ["gain"] = value;
     }
 }