//@Override
@Override
public void setSource(DataSource source) throws IOException, IncompatibleSourceException
{
if (!(source instanceof PullDataSource))
throw new IncompatibleSourceException();
if (!(source instanceof SourceCloneable))
throw new IncompatibleSourceException();
this.sourceForFormat = (PullDataSource) source;
if (OPEN_IN_SET_SOURCE)
{
try
{
doOpen();
} catch (UnsupportedAudioFileException e)
{
logger.log(Level.INFO, "" + e); // this happens with ogg files that have movies in it, so no stack trace needed
throw new IncompatibleSourceException("" + e);
} catch (IOException e)
{
logger.log(Level.WARNING, "" + e, e);
throw e;
}