コード例 #1
0
 internal PlaylistManager(PlaylistManagerData pmd)
 {
     data      = pmd;
     json      = new JavaScriptSerializer();
     shuffle   = new ListedShuffle();
     dataSets  = new List <DataSet>();
     playQueue = new Queue <PlayData>();
 }
コード例 #2
0
		internal PlaylistManager(PlaylistManagerData pmd)
		{
			data = pmd;
			json = new JavaScriptSerializer();
			shuffle = new ListedShuffle();
			dataSets = new List<DataSet>();
			playQueue = new Queue<PlayData>();
		}
コード例 #3
0
        // Playlistfactory related stuff

        public PlaylistManager(PlaylistManagerData pmd)
        {
            data    = pmd;
            shuffle = new LinearFeedbackShiftRegister {
                Seed = Util.Random.Next()
            };
            freeList  = new Playlist(string.Empty);
            trashList = new Playlist(string.Empty);
        }