Home
last modified time | relevance | path

Searched refs:spatMode (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DSpatializerHelper.java586 int spatMode = SPAT_MODE_FOR_DEVICE_TYPE.get(device.getDeviceType(), in initSAState() local
588 device.setSAEnabled(spatMode == Spatialization.Mode.BINAURAL in initSAState()
590 : spatMode == Spatialization.Mode.TRANSAURAL in initSAState()
639 final int spatMode = SPAT_MODE_FOR_DEVICE_TYPE.get(deviceType, Integer.MIN_VALUE); in getCanonicalDeviceType() local
640 if (spatMode == Spatialization.Mode.TRANSAURAL) { in getCanonicalDeviceType()
642 } else if (spatMode == Spatialization.Mode.BINAURAL) { in getCanonicalDeviceType()
683 final int spatMode = SPAT_MODE_FOR_DEVICE_TYPE.get(deviceType, Integer.MIN_VALUE); in evaluateState() local
684 if (spatMode == Integer.MIN_VALUE) { in evaluateState()
701 available = (spatMode == Spatialization.Mode.BINAURAL) && mBinauralSupported; in evaluateState()