Examples of disableOutput()


Examples of org.bff.javampd.MPDAdmin.disableOutput()

            MPDAdmin admin = daemon.getMPDAdmin();
            MPDOutput output = new MPDOutput(outputId - 1); // internally mpd uses 0-based indexing
            if (pCommand == PlayerCommandTypeMapping.ENABLE) {
              admin.enableOutput(output);
            } else {
              admin.disableOutput(output);
            }
            break;
          case VOLUME:
            logger.debug("Volume adjustment received: '{}' '{}'", pCommand, commandParams);
            player.setVolume(((PercentType) commandParams).intValue());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.