Home
last modified time | relevance | path

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

/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java158 final int audioSession) { in initEffectsPreferences() argument
162 final ControlMode controlMode = getControlMode(audioSession); in initEffectsPreferences()
175 final Virtualizer virt = new Virtualizer(0, audioSession); in initEffectsPreferences()
339 public static ControlMode getControlMode(final int audioSession) { in getControlMode() argument
340 if (audioSession == AudioEffect.ERROR_BAD_VALUE) { in getControlMode()
357 final int audioSession, final Key key, final boolean value) { in setParameterBoolean() argument
361 final ControlMode controlMode = getControlMode(audioSession); in setParameterBoolean()
370 final Virtualizer virtualizerEffect = getVirtualizerEffect(audioSession); in setParameterBoolean()
378 audioSession, Key.virt_strength, vIStrength); in setParameterBoolean()
380 final BassBoost bassBoostEffect = getBassBoostEffect(audioSession); in setParameterBoolean()
[all …]
DControlPanelReceiver.java44 final int audioSession = intent.getIntExtra(AudioEffect.EXTRA_AUDIO_SESSION, in onReceive() local
49 Log.v(TAG, "Audio session: " + audioSession); in onReceive()
58 if ((audioSession == AudioEffect.ERROR_BAD_VALUE) || (audioSession < 0)) { in onReceive()
59 Log.w(TAG, "Invalid or missing audio session " + audioSession); in onReceive()
72 ControlPanelEffect.openSession(context, packageName, audioSession); in onReceive()
78 ControlPanelEffect.closeSession(context, packageName, audioSession); in onReceive()
87 ControlPanelEffect.setParameterBoolean(context, packageName, audioSession, in onReceive()
98 audioSession, ControlPanelEffect.Key.global_enabled); in onReceive()