public MusicPlayer(IMediaDatabase db, ISoundComponent sc) { SongsInQueue = new List <ISong>(); _mediaDb = db; _soundComponent = sc; _mediaDb.OpenConnection(); }
public static void RegisterSoundComponent(ISoundComponent sound) { _soundComponent = sound; }