Пример #1
0
        public Shuffler(BassPlayer bassPlayer, Library library, MixLibrary mixLibrary)
        {
            Timer timer = new Timer();
            timer.Interval = 50;
            timer.Tick += new EventHandler(timer_Tick);
            
            this.BassPlayer = bassPlayer;
            this.BassPlayer.OnTrackChange += new EventHandler(BassPlayer_OnTrackChange);
            this.Library = library;
            this.MixLibrary = mixLibrary;

            this.HistorySize = 255;

            timer.Start();
        }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the MixLibrary class.
 /// </summary>
 /// <param name="library">The track library.</param>
 /// <param name="mixDetailsFolder">The mix details folder.</param>
 public MixLibrary(Library library, string mixDetailsFolder)
 {
     _library = library;
     this.MixDetailsFolder = mixDetailsFolder;
 }