Home | History | Annotate | Download | only in audio

Lines Matching defs:apm

50     AudioPolicyInterface *apm;
70 return lap->apm->setDeviceConnectionState(
82 return (audio_policy_dev_state_t)lap->apm->getDeviceConnectionState(
91 lap->apm->setPhoneState((int) state);
107 lap->apm->setForceUse((AudioSystem::force_use)usage,
117 return (audio_policy_forced_cfg_t)lap->apm->getForceUse(
127 lap->apm->setSystemProperty("ro.camera.sound.forced", can_mute ? "0" : "1");
133 return lap->apm->initCheck();
147 return lap->apm->getOutput((AudioSystem::stream_type)stream,
157 return lap->apm->startOutput(output, (AudioSystem::stream_type)stream,
165 return lap->apm->stopOutput(output, (AudioSystem::stream_type)stream,
173 lap->apm->releaseOutput(output);
183 return lap->apm->getInput((int) inputSource, sampling_rate, (int) format, channelMask,
190 return lap->apm->startInput(input);
196 return lap->apm->stopInput(input);
202 lap->apm->releaseInput(input);
210 lap->apm->initStreamVolume((AudioSystem::stream_type)stream, index_min,
219 return lap->apm->setStreamVolumeIndex((AudioSystem::stream_type)stream,
229 return lap->apm->getStreamVolumeIndex((AudioSystem::stream_type)stream,
240 return lap->apm->setStreamVolumeIndex((AudioSystem::stream_type)stream,
251 return lap->apm->getStreamVolumeIndex((AudioSystem::stream_type)stream,
260 return lap->apm->getStrategyForStream((AudioSystem::stream_type)stream);
267 return lap->apm->getDevicesForStream((AudioSystem::stream_type)stream);
274 return lap->apm->getOutputForEffect(desc);
285 return lap->apm->registerEffect(desc, io, strategy, session, id);
291 return lap->apm->unregisterEffect(id);
297 return lap->apm->setEffectEnabled(id, enabled);
304 return lap->apm->isStreamActive((int) stream, in_past_ms);
311 return lap->apm->isStreamActiveRemotely((int) stream, in_past_ms);
317 return lap->apm->isSourceActive(source);
323 return lap->apm->dump(fd);
330 return lap->apm->isOffloadSupported(*info);
391 lap->apm = createAudioPolicyManager(lap->service_client);
392 if (!lap->apm) {
416 if (lap->apm)
417 destroyAudioPolicyManager(lap->apm);