protected void play(InputStream in, AudioDevice dev) throws JavaLayerException
	{
		stopPlayer();
		
		if (in!=null && dev!=null)
		{
			player = new Player(in, dev);
			playerThread = createPlayerThread();
			playerThread.start();
		}
	}