logger.info("available device: " + device.getName() + " - " + device.getDescription() + " (" + device.getRating() + ")");
}
if(mute || devices == null || devices.size() == 0)
{
mSoundSystem = new SoundSystemNG(mAudioFormat, BUFFER_DURATION);
mMute = true;
}
else
{
mSoundSystem = new SoundSystemNG(getOutputLine(), BUFFER_DURATION);
mMute = false;
}
// start the sound system thread in a separate method to take derived classes into account
// (not yet needed, but just in case - and to avoid the FindBugs warning)