Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/audiofx/
DAcousticEchoCanceler.java61 public static AcousticEchoCanceler create(int audioSession) { in create() argument
64 aec = new AcousticEchoCanceler(audioSession); in create()
92 private AcousticEchoCanceler(int audioSession) in AcousticEchoCanceler() argument
94 super(EFFECT_TYPE_AEC, EFFECT_TYPE_NULL, 0, audioSession); in AcousticEchoCanceler()
DNoiseSuppressor.java63 public static NoiseSuppressor create(int audioSession) { in create() argument
66 ns = new NoiseSuppressor(audioSession); in create()
94 private NoiseSuppressor(int audioSession) in NoiseSuppressor() argument
96 super(EFFECT_TYPE_NS, EFFECT_TYPE_NULL, 0, audioSession); in NoiseSuppressor()
DAutomaticGainControl.java61 public static AutomaticGainControl create(int audioSession) { in create() argument
64 agc = new AutomaticGainControl(audioSession); in create()
92 private AutomaticGainControl(int audioSession) in AutomaticGainControl() argument
94 super(EFFECT_TYPE_AGC, EFFECT_TYPE_NULL, 0, audioSession); in AutomaticGainControl()
DLoudnessEnhancer.java77 public LoudnessEnhancer(int audioSession) in LoudnessEnhancer() argument
80 super(EFFECT_TYPE_LOUDNESS_ENHANCER, EFFECT_TYPE_NULL, 0, audioSession); in LoudnessEnhancer()
82 if (audioSession == 0) { in LoudnessEnhancer()
103 public LoudnessEnhancer(int priority, int audioSession) in LoudnessEnhancer() argument
106 super(EFFECT_TYPE_LOUDNESS_ENHANCER, EFFECT_TYPE_NULL, priority, audioSession); in LoudnessEnhancer()
108 if (audioSession == 0) { in LoudnessEnhancer()
DBassBoost.java91 public BassBoost(int priority, int audioSession) in BassBoost() argument
94 super(EFFECT_TYPE_BASS_BOOST, EFFECT_TYPE_NULL, priority, audioSession); in BassBoost()
96 if (audioSession == 0) { in BassBoost()
DPresetReverb.java126 public PresetReverb(int priority, int audioSession) in PresetReverb() argument
128 super(EFFECT_TYPE_PRESET_REVERB, EFFECT_TYPE_NULL, priority, audioSession); in PresetReverb()
DVisualizer.java206 public Visualizer(int audioSession) in Visualizer() argument
213 int result = native_setup(new WeakReference<Visualizer>(this), audioSession, id, in Visualizer()
740 int audioSession, in native_setup() argument
DEqualizer.java136 public Equalizer(int priority, int audioSession) in Equalizer() argument
139 super(EFFECT_TYPE_EQUALIZER, EFFECT_TYPE_NULL, priority, audioSession); in Equalizer()
141 if (audioSession == 0) { in Equalizer()
DAudioEffect.java448 public AudioEffect(UUID type, UUID uuid, int priority, int audioSession) in AudioEffect() argument
455 type.toString(), uuid.toString(), priority, audioSession, id, in AudioEffect()
532 static public Descriptor[] queryPreProcessings(int audioSession) { in queryPreProcessings() argument
533 return (Descriptor[]) native_query_pre_processing(audioSession); in queryPreProcessings()
1296 String uuid, int priority, int audioSession, int[] id, Object[] desc, in native_setup() argument
1320 private static native Object[] native_query_pre_processing(int audioSession); in native_query_pre_processing() argument
DVirtualizer.java117 public Virtualizer(int priority, int audioSession) in Virtualizer() argument
120 super(EFFECT_TYPE_VIRTUALIZER, EFFECT_TYPE_NULL, priority, audioSession); in Virtualizer()
122 if (audioSession == 0) { in Virtualizer()
DEnvironmentalReverb.java136 public EnvironmentalReverb(int priority, int audioSession) in EnvironmentalReverb() argument
138 super(EFFECT_TYPE_ENV_REVERB, EFFECT_TYPE_NULL, priority, audioSession); in EnvironmentalReverb()
DDynamicsProcessing.java148 public DynamicsProcessing(int audioSession) { in DynamicsProcessing() argument
149 this(0 /*priority*/, audioSession); in DynamicsProcessing()
163 public DynamicsProcessing(int priority, int audioSession) { in DynamicsProcessing() argument
164 this(priority, audioSession, null); in DynamicsProcessing()
182 public DynamicsProcessing(int priority, int audioSession, @Nullable Config cfg) { in DynamicsProcessing() argument
183 super(EFFECT_TYPE_DYNAMICS_PROCESSING, EFFECT_TYPE_NULL, priority, audioSession); in DynamicsProcessing()
184 if (audioSession == 0) { in DynamicsProcessing()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp90 audio_session_t audioSession) in addInputEffects() argument
104 ssize_t idx = mInputSessions.indexOfKey(audioSession); in addInputEffects()
107 sessionDesc = new EffectVector(audioSession); in addInputEffects()
108 mInputSessions.add(audioSession, sessionDesc); in addInputEffects()
122 0, audioSession, input); in addInputEffects()
145 audio_session_t audioSession) in releaseInputEffects() argument
150 ssize_t index = mInputSessions.indexOfKey(audioSession); in releaseInputEffects()
166 status_t AudioPolicyEffects::queryDefaultInputEffects(audio_session_t audioSession, in queryDefaultInputEffects() argument
175 if (mInputSessions.valueAt(index)->mSessionId == audioSession) { in queryDefaultInputEffects()
199 status_t AudioPolicyEffects::queryDefaultOutputSessionEffects(audio_session_t audioSession, in queryDefaultOutputSessionEffects() argument
[all …]
DAudioPolicyEffects.h53 status_t queryDefaultInputEffects(audio_session_t audioSession,
61 audio_session_t audioSession);
65 audio_session_t audioSession);
69 status_t queryDefaultOutputSessionEffects(audio_session_t audioSession,
77 audio_session_t audioSession);
82 audio_session_t audioSession);
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp575 virtual void acquireAudioSessionId(audio_session_t audioSession, int pid) in acquireAudioSessionId() argument
579 data.writeInt32(audioSession); in acquireAudioSessionId()
584 virtual void releaseAudioSessionId(audio_session_t audioSession, int pid) in releaseAudioSessionId() argument
588 data.writeInt32(audioSession); in releaseAudioSessionId()
1308 audio_session_t audioSession = (audio_session_t) data.readInt32(); in onTransact() local
1310 acquireAudioSessionId(audioSession, pid); in onTransact()
1315 audio_session_t audioSession = (audio_session_t) data.readInt32(); in onTransact() local
1317 releaseAudioSessionId(audioSession, pid); in onTransact()
DAudioEffect.cpp444 status_t AudioEffect::queryDefaultPreProcessing(audio_session_t audioSession, in queryDefaultPreProcessing() argument
450 return aps->queryDefaultPreProcessing(audioSession, descriptors, count); in queryDefaultPreProcessing()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp2811 void AudioFlinger::acquireAudioSessionId(audio_session_t audioSession, pid_t pid) in acquireAudioSessionId() argument
2815 ALOGV("acquiring %d from %d, for %d", audioSession, caller, pid); in acquireAudioSessionId()
2828 ALOGW("acquireAudioSessionId() unknown client %d for session %d", caller, audioSession); in acquireAudioSessionId()
2836 if (ref->mSessionid == audioSession && ref->mPid == caller) { in acquireAudioSessionId()
2842 mAudioSessionRefs.push(new AudioSessionRef(audioSession, caller)); in acquireAudioSessionId()
2843 ALOGV(" added new entry for %d", audioSession); in acquireAudioSessionId()
2846 void AudioFlinger::releaseAudioSessionId(audio_session_t audioSession, pid_t pid) in releaseAudioSessionId() argument
2852 ALOGV("releasing %d from %d for %d", audioSession, caller, pid); in releaseAudioSessionId()
2860 if (ref->mSessionid == audioSession && ref->mPid == caller) { in releaseAudioSessionId()
2875 "session id %d not found for pid %d", audioSession, caller); in releaseAudioSessionId()
[all …]
DAudioFlinger.h214 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
216 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
722 bool isSessionAcquired_l(audio_session_t audioSession);
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h149 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
DIAudioFlinger.h437 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid) = 0;
438 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid) = 0;
DAudioSystem.h174 static void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
175 static void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
/frameworks/av/include/media/
DAudioEffect.h149 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
DIAudioFlinger.h437 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid) = 0;
438 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid) = 0;
DAudioSystem.h174 static void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
175 static void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp735 jint audioSession) in android_media_AudioEffect_native_queryPreProcessings() argument
740 status_t status = AudioEffect::queryDefaultPreProcessing((audio_session_t) audioSession, in android_media_AudioEffect_native_queryPreProcessings()

12