示例#1
0
 /// <summary>
 /// Constructor initializes the OperationObject and starts the loader thread
 /// </summary>
 /// <param name="outputDir">the location of the playlists, so that the loader can get songs from the playlist xml files</param>
 public CustomMusicLoader(String outputDir)
 {
     loaderThread = new Thread(new ThreadStart(this.ThreadActivity));
     opObject     = new OperationObject(QueueOp.NO_OP, null, null);
     this.store   = new QueueStore(outputDir, this);
     loaderThread.Start();
 }
示例#2
0
 /// <summary>
 /// The loader destroys the store
 /// </summary>
 private void _destroyStore()
 {
     store = null;
 }