Examples of AudioGroup


Examples of com.sun.mpk20.voicelib.app.AudioGroup

  ProximityComponentMO component = cellMO.getComponent(ProximityComponentMO.class);

        BoundingVolume[] bounds = new BoundingVolume[1];

  AudioGroup ag = AppContext.getManager(VoiceManager.class).getVoiceManagerParameters().livePlayerAudioGroup;

  DefaultSpatializer spatializer = (DefaultSpatializer) ag.getSetup().spatializer;

        bounds[0] = new BoundingSphere((float) spatializer.getZeroVolumeRadius(), new Vector3f());

  logger.warning("Bounds for " + info.getCellID() + " " + bounds[0]);
View Full Code Here

Examples of com.sun.mpk20.voicelib.app.AudioGroup

      logger.fine("In range player is already in group " + group.getId() + ": " + playerInRange.getId());
      return;
  }

  addTransientMember(group, player, playerInRange);
  AudioGroup ag = AppContext.getManager(VoiceManager.class).getVoiceManagerParameters().livePlayerAudioGroup;

  DefaultSpatializer spatializer = (DefaultSpatializer) ag.getSetup().spatializer;
   
  playerInRange.setPrivateSpatializer(player, new FullVolumeSpatializer(spatializer.getZeroVolumeRadius()));
    }
View Full Code Here

Examples of com.sun.mpk20.voicelib.app.AudioGroup

      return;
  }

  VoiceManager vm = AppContext.getManager(VoiceManager.class);

  AudioGroup livePlayerAudioGroup = vm.getVoiceManagerParameters().livePlayerAudioGroup;

  AudioGroup stationaryPlayerAudioGroup = vm.getVoiceManagerParameters().stationaryPlayerAudioGroup;

  if (group.equals(livePlayerAudioGroup.getId()) || group.equals(stationaryPlayerAudioGroup.getId())) {
      return;
  }

  CommsManager cm = CommsManagerFactory.getCommsManager();
     
View Full Code Here

Examples of com.sun.mpk20.voicelib.app.AudioGroup

    }

    private PresenceInfo[] getChatters(String group, ChatType chatType) {
  VoiceManager vm = AppContext.getManager(VoiceManager.class);

  AudioGroup audioGroup = vm.getAudioGroup(group);

  if (audioGroup == null) {
      logger.fine("Can't find audio group " + group);
      return null;
  }

  AudioGroup livePlayerAudioGroup = vm.getVoiceManagerParameters().livePlayerAudioGroup;

        AudioGroup stationaryPlayerAudioGroup = vm.getVoiceManagerParameters().stationaryPlayerAudioGroup;

  if (audioGroup.equals(livePlayerAudioGroup) || audioGroup.equals(stationaryPlayerAudioGroup)) {
      return null;
  }
View Full Code Here

Examples of com.sun.mpk20.voicelib.app.AudioGroup

  }

  AudioGroup[] groups = player.getAudioGroups();

  for (int i = 0; i < groups.length; i++) {
      AudioGroup group = groups[i];

      AudioGroupPlayerInfo playerInfo = group.getPlayerInfo(player);

      if (playerInfo == null || playerInfo.chatType.equals(AudioGroupPlayerInfo.ChatType.PUBLIC) == false) {
    logger.fine("player not chatting publicly in " + group.getId() + " "
        + player.getId() + " info " + playerInfo);
    continue;
      }

      if (isInRange) {
View Full Code Here

Examples of com.sun.mpk20.voicelib.app.AudioGroup

            sender.send(clientID, new VoiceChatCallEndedMessage(
          group, callee, "No voice bridge available!"));
      return;
  }

  AudioGroup audioGroup = vm.getAudioGroup(group);

  if (audioGroup == null) {
      logger.warning("No audio group " + group);
            sender.send(clientID, new VoiceChatCallEndedMessage(
          group, callee, "Audio group not found!"));
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.