Searched defs:audioSession (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/media/java/android/media/audiofx/
H A DAcousticEchoCanceler.java57 * @param audioSession system wide unique audio session identifier. The AcousticEchoCanceler
61 public static AcousticEchoCanceler create(int audioSession) { argument
64 aec = new AcousticEchoCanceler(audioSession);
86 * @param audioSession system wide unique audio session identifier. The AcousticEchoCanceler
93 private AcousticEchoCanceler(int audioSession) argument
95 super(EFFECT_TYPE_AEC, EFFECT_TYPE_NULL, 0, audioSession);
H A DAutomaticGainControl.java57 * @param audioSession system wide unique audio session identifier. The AutomaticGainControl
61 public static AutomaticGainControl create(int audioSession) { argument
64 agc = new AutomaticGainControl(audioSession);
86 * @param audioSession system wide unique audio session identifier. The AutomaticGainControl
93 private AutomaticGainControl(int audioSession) argument
95 super(EFFECT_TYPE_AGC, EFFECT_TYPE_NULL, 0, audioSession);
H A DNoiseSuppressor.java58 * @param audioSession system wide unique audio session identifier. The NoiseSuppressor
63 public static NoiseSuppressor create(int audioSession) { argument
66 ns = new NoiseSuppressor(audioSession);
88 * @param audioSession system wide unique audio session identifier. The NoiseSuppressor
95 private NoiseSuppressor(int audioSession) argument
97 super(EFFECT_TYPE_NS, EFFECT_TYPE_NULL, 0, audioSession);
H A DBassBoost.java90 * @param audioSession system wide unique audio session identifier. The BassBoost will be
98 public BassBoost(int priority, int audioSession) argument
101 super(EFFECT_TYPE_BASS_BOOST, EFFECT_TYPE_NULL, priority, audioSession);
103 if (audioSession == 0) {
H A DPresetReverb.java124 * @param audioSession system wide unique audio session identifier. If audioSession
134 public PresetReverb(int priority, int audioSession) argument
136 super(EFFECT_TYPE_PRESET_REVERB, EFFECT_TYPE_NULL, priority, audioSession);
H A DVirtualizer.java92 * @param audioSession system wide unique audio session identifier. The Virtualizer will
100 public Virtualizer(int priority, int audioSession) argument
103 super(EFFECT_TYPE_VIRTUALIZER, EFFECT_TYPE_NULL, priority, audioSession);
105 if (audioSession == 0) {
H A DEqualizer.java135 * @param audioSession system wide unique audio session identifier. The Equalizer will be
143 public Equalizer(int priority, int audioSession) argument
146 super(EFFECT_TYPE_EQUALIZER, EFFECT_TYPE_NULL, priority, audioSession);
148 if (audioSession == 0) {
H A DEnvironmentalReverb.java134 * @param audioSession system wide unique audio session identifier. If audioSession
144 public EnvironmentalReverb(int priority, int audioSession) argument
146 super(EFFECT_TYPE_ENV_REVERB, EFFECT_TYPE_NULL, priority, audioSession);
H A DVisualizer.java177 * @param audioSession system wide unique audio session identifier. If audioSession
185 public Visualizer(int audioSession) argument
192 int result = native_setup(new WeakReference<Visualizer>(this), audioSession, id);
624 int audioSession,
623 native_setup(Object audioeffect_this, int audioSession, int[] id) argument
H A DAudioEffect.java357 * @param audioSession system wide unique audio session identifier.
367 public AudioEffect(UUID type, UUID uuid, int priority, int audioSession) argument
374 type.toString(), uuid.toString(), priority, audioSession, id,
446 * @param audioSession system wide unique audio session identifier.
451 static public Descriptor[] queryPreProcessings(int audioSession) { argument
452 return (Descriptor[]) native_query_pre_processing(audioSession);
1193 String uuid, int priority, int audioSession, int[] id, Object[] desc);
1216 private static native Object[] native_query_pre_processing(int audioSession); argument
1192 native_setup(Object audioeffect_this, String type, String uuid, int priority, int audioSession, int[] id, Object[] desc) argument
/frameworks/av/media/libmedia/
H A DAudioEffect.cpp417 status_t AudioEffect::queryDefaultPreProcessing(int audioSession, argument
423 return aps->queryDefaultPreProcessing(audioSession, descriptors, count);
H A DIAudioPolicyService.cpp180 int audioSession)
188 data.writeInt32(audioSession);
342 virtual status_t queryDefaultPreProcessing(int audioSession, argument
351 data.writeInt32(audioSession);
476 int audioSession = data.readInt32(); local
481 audioSession);
614 int audioSession = data.readInt32(); local
619 status_t status = queryDefaultPreProcessing(audioSession, descriptors, &retCount);
175 getInput( audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument
H A DAudioSystem.cpp400 void AudioSystem::acquireAudioSessionId(int audioSession) { argument
403 af->acquireAudioSessionId(audioSession);
407 void AudioSystem::releaseAudioSessionId(int audioSession) { argument
410 af->releaseAudioSessionId(audioSession);
H A DIAudioFlinger.cpp546 virtual void acquireAudioSessionId(int audioSession) argument
550 data.writeInt32(audioSession);
554 virtual void releaseAudioSessionId(int audioSession) argument
558 data.writeInt32(audioSession);
991 int audioSession = data.readInt32(); local
992 acquireAudioSessionId(audioSession);
997 int audioSession = data.readInt32(); local
998 releaseAudioSessionId(audioSession);
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp783 android_media_AudioEffect_native_queryPreProcessings(JNIEnv *env, jclass clazz, jint audioSession) argument
792 status_t status = AudioEffect::queryDefaultPreProcessing(audioSession,
803 status = AudioEffect::queryDefaultPreProcessing(audioSession,
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp271 int audioSession)
296 inputDesc = new InputDesc(audioSession);
305 sp<AudioEffect> fx = new AudioEffect(NULL, &effect->mUuid, -1, 0, 0, audioSession, input);
498 status_t AudioPolicyService::queryDefaultPreProcessing(int audioSession, argument
512 if (mInputs.valueAt(index)->mSessionId == audioSession) {
267 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument
H A DAudioFlinger.cpp7266 void AudioFlinger::acquireAudioSessionId(int audioSession) argument
7270 ALOGV("acquiring %d from %d", audioSession, caller);
7274 if (ref->mSessionid == audioSession && ref->mPid == caller) {
7280 mAudioSessionRefs.push(new AudioSessionRef(audioSession, caller));
7281 ALOGV(" added new entry for %d", audioSession);
7284 void AudioFlinger::releaseAudioSessionId(int audioSession) argument
7288 ALOGV("releasing %d from %d", audioSession, caller);
7292 if (ref->mSessionid == audioSession && ref->mPid == caller) {
7303 ALOGW("session id %d not found for pid %d", audioSession, caller);

Completed in 149 milliseconds