public class CoreAudioDevice extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
isLoaded
Tells if the CoreAudio library used by this CoreAudioDevice is correctly
loaded: if we are under a supported operating system.
|
| Constructor and Description |
|---|
CoreAudioDevice() |
| Modifier and Type | Method and Description |
|---|---|
static void |
devicesChangedCallback()
Implements a callback which gets called by the native coreaudio
counterpart to notify the Java counterpart that the list of devices has
changed.
|
static void |
freeDevices() |
static String |
getDeviceModelIdentifier(String deviceUID) |
static byte[] |
getDeviceModelIdentifierBytes(String deviceUID) |
static String |
getDeviceName(String deviceUID) |
static byte[] |
getDeviceNameBytes(String deviceUID) |
static float |
getInputDeviceVolume(String deviceUID) |
static float |
getOutputDeviceVolume(String deviceUID) |
static int |
initDevices() |
static void |
log(byte[] error) |
protected static String |
newString(byte[] bytes) |
static void |
setDevicesChangedCallback(Runnable devicesChangedCallback) |
static int |
setInputDeviceVolume(String deviceUID,
float volume) |
static int |
setOutputDeviceVolume(String deviceUID,
float volume) |
public static boolean isLoaded
public static void freeDevices()
public static byte[] getDeviceModelIdentifierBytes(String deviceUID)
public static byte[] getDeviceNameBytes(String deviceUID)
public static float getInputDeviceVolume(String deviceUID)
public static float getOutputDeviceVolume(String deviceUID)
public static int initDevices()
public static int setInputDeviceVolume(String deviceUID, float volume)
public static int setOutputDeviceVolume(String deviceUID, float volume)
public static void devicesChangedCallback()
public static void setDevicesChangedCallback(Runnable devicesChangedCallback)
public static void log(byte[] error)
protected static String newString(byte[] bytes)
Copyright © 2021 jitsi.org. All rights reserved.