Examples of MIXERVOLUME


Examples of org.sf.feeling.swt.win32.internal.extension.MIXERVOLUME

  }

  public static boolean setPlaybackVolume(int deviceId, int leftValue, int rightValue,
      int srcType, boolean mono)
  {
    MIXERVOLUME volume = new MIXERVOLUME();
    volume.leftChannelVolume = leftValue;
    volume.rightChannelVolume = rightValue;
    return Extension.SetPlaybackVolume(deviceId, srcType, volume, mono);
  }
View Full Code Here

Examples of org.sf.feeling.swt.win32.internal.extension.MIXERVOLUME

  }

  public static boolean setRecordingVolume(int deviceId, int leftValue, int rightValue,
      int srcType, boolean mono)
  {
    MIXERVOLUME volume = new MIXERVOLUME();
    volume.leftChannelVolume = leftValue;
    volume.rightChannelVolume = rightValue;
    return Extension.SetRecordingVolume(deviceId, srcType, volume, mono);
  }
View Full Code Here

Examples of org.sf.feeling.swt.win32.internal.extension.MIXERVOLUME

    return getRecordingVolume(deviceId, TYPE_MICROPHONE, isMixerMono(deviceId))[0];
  }

  public static int[] getRecordingVolume(int deviceId, int srcType, boolean mono)
  {
    MIXERVOLUME volume = new MIXERVOLUME();
    if (Extension.GetRecordingVolume(deviceId, srcType, volume, mono))
    {
      return new int[] { volume.leftChannelVolume, volume.rightChannelVolume };
    }
    else
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.