Home
last modified time | relevance | path

Searched refs:audio_io_handle_t (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h87 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
93 virtual audio_io_handle_t getOutputForAttr(const audio_attributes_t *attr,
100 virtual status_t startOutput(audio_io_handle_t output,
104 virtual status_t stopOutput(audio_io_handle_t output,
108 virtual void releaseOutput(audio_io_handle_t output) = 0;
111 virtual audio_io_handle_t getInput(audio_source_t inputSource,
118 virtual status_t startInput(audio_io_handle_t input,
121 virtual status_t stopInput(audio_io_handle_t input,
124 virtual void releaseInput(audio_io_handle_t input,
157 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) = 0;
[all …]
DAudioPolicyService.h68 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
75 virtual audio_io_handle_t getOutputForAttr(const audio_attributes_t *attr,
81 virtual status_t startOutput(audio_io_handle_t output,
84 virtual status_t stopOutput(audio_io_handle_t output,
87 virtual void releaseOutput(audio_io_handle_t output);
88 virtual audio_io_handle_t getInput(audio_source_t inputSource,
94 virtual status_t startInput(audio_io_handle_t input,
96 virtual status_t stopInput(audio_io_handle_t input,
98 virtual void releaseInput(audio_io_handle_t input,
113 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc);
[all …]
DAudioPolicyClientImplLegacy.cpp65 static audio_io_handle_t open_output(audio_module_handle_t module, in open_output()
91 audio_io_handle_t output = AUDIO_IO_HANDLE_NONE; in open_output()
106 audio_io_handle_t aps_open_output(void *service __unused, in aps_open_output()
118 audio_io_handle_t aps_open_output_on_module(void *service __unused, in aps_open_output_on_module()
132 audio_io_handle_t aps_open_dup_output(void *service __unused, in aps_open_dup_output()
133 audio_io_handle_t output1, in aps_open_dup_output()
134 audio_io_handle_t output2) in aps_open_dup_output()
144 int aps_close_output(void *service __unused, audio_io_handle_t output) in aps_close_output()
154 int aps_suspend_output(void *service __unused, audio_io_handle_t output) in aps_suspend_output()
165 int aps_restore_output(void *service __unused, audio_io_handle_t output) in aps_restore_output()
[all …]
DAudioPolicyManager.h84 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
90 virtual audio_io_handle_t getOutputForAttr(const audio_attributes_t *attr,
96 virtual status_t startOutput(audio_io_handle_t output,
99 virtual status_t stopOutput(audio_io_handle_t output,
102 virtual void releaseOutput(audio_io_handle_t output);
103 virtual audio_io_handle_t getInput(audio_source_t inputSource,
111 virtual status_t startInput(audio_io_handle_t input,
115 virtual status_t stopInput(audio_io_handle_t input,
117 virtual void releaseInput(audio_io_handle_t input,
138 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc = NULL);
[all …]
DAudioPolicyClientImpl.cpp40 audio_io_handle_t *output, in openOutput()
55 audio_io_handle_t AudioPolicyService::AudioPolicyClient::openDuplicateOutput( in openDuplicateOutput()
56 audio_io_handle_t output1, in openDuplicateOutput()
57 audio_io_handle_t output2) in openDuplicateOutput()
67 status_t AudioPolicyService::AudioPolicyClient::closeOutput(audio_io_handle_t output) in closeOutput()
77 status_t AudioPolicyService::AudioPolicyClient::suspendOutput(audio_io_handle_t output) in suspendOutput()
88 status_t AudioPolicyService::AudioPolicyClient::restoreOutput(audio_io_handle_t output) in restoreOutput()
100 audio_io_handle_t *input, in openInput()
116 status_t AudioPolicyService::AudioPolicyClient::closeInput(audio_io_handle_t input) in closeInput()
127 float volume, audio_io_handle_t output, in setStreamVolume()
[all …]
DAudioPolicyInterfaceImplLegacy.cpp130 audio_io_handle_t AudioPolicyService::getOutput(audio_stream_type_t stream, in getOutput()
146 status_t AudioPolicyService::startOutput(audio_io_handle_t output, in startOutput()
171 status_t AudioPolicyService::stopOutput(audio_io_handle_t output, in stopOutput()
183 status_t AudioPolicyService::doStopOutput(audio_io_handle_t output, in doStopOutput()
204 void AudioPolicyService::releaseOutput(audio_io_handle_t output) in releaseOutput()
213 void AudioPolicyService::doReleaseOutput(audio_io_handle_t output) in doReleaseOutput()
220 audio_io_handle_t AudioPolicyService::getInput(audio_source_t inputSource, in getInput()
239 audio_io_handle_t input; in getInput()
262 status_t AudioPolicyService::startInput(audio_io_handle_t input, in startInput()
273 status_t AudioPolicyService::stopInput(audio_io_handle_t input, in stopInput()
[all …]
DAudioPolicyInterfaceImpl.cpp125 audio_io_handle_t AudioPolicyService::getOutput(audio_stream_type_t stream, in getOutput()
141 audio_io_handle_t AudioPolicyService::getOutputForAttr(const audio_attributes_t *attr, in getOutputForAttr()
157 status_t AudioPolicyService::startOutput(audio_io_handle_t output, in startOutput()
181 status_t AudioPolicyService::stopOutput(audio_io_handle_t output, in stopOutput()
193 status_t AudioPolicyService::doStopOutput(audio_io_handle_t output, in doStopOutput()
214 void AudioPolicyService::releaseOutput(audio_io_handle_t output) in releaseOutput()
223 void AudioPolicyService::doReleaseOutput(audio_io_handle_t output) in doReleaseOutput()
230 audio_io_handle_t AudioPolicyService::getInput(audio_source_t inputSource, in getInput()
248 audio_io_handle_t input; in getInput()
271 status_t AudioPolicyService::startInput(audio_io_handle_t input, in startInput()
[all …]
DAudioPolicyEffects.h60 status_t addInputEffects(audio_io_handle_t input,
65 status_t releaseInputEffects(audio_io_handle_t input);
76 status_t addOutputSessionEffects(audio_io_handle_t output,
81 status_t releaseOutputSessionEffects(audio_io_handle_t output,
186 KeyedVector< audio_io_handle_t, EffectVector* > mInputs;
DAudioPolicyService.cpp608 audio_io_handle_t output, in volumeCommand()
624 status_t AudioPolicyService::AudioCommandThread::parametersCommand(audio_io_handle_t ioHandle, in parametersCommand()
652 void AudioPolicyService::AudioCommandThread::stopOutputCommand(audio_io_handle_t output, in stopOutputCommand()
667 void AudioPolicyService::AudioCommandThread::releaseOutputCommand(audio_io_handle_t output) in releaseOutputCommand()
936 void AudioPolicyService::setParameters(audio_io_handle_t ioHandle, in setParameters()
946 audio_io_handle_t output, in setStreamVolume()
982 audio_io_handle_t aps_open_output(void *service __unused,
990 audio_io_handle_t aps_open_output_on_module(void *service __unused,
999 audio_io_handle_t aps_open_dup_output(void *service __unused,
1000 audio_io_handle_t output1,
[all …]
DAudioPolicyManager.cpp228 SortedVector <audio_io_handle_t> outputs; in setDeviceConnectionState()
324 audio_io_handle_t output = mOutputs.keyAt(i); in setDeviceConnectionState()
345 SortedVector <audio_io_handle_t> inputs; in setDeviceConnectionState()
492 SortedVector<audio_io_handle_t> outputs = in updateCallRouting()
494 audio_io_handle_t output = selectOutput(outputs, in updateCallRouting()
533 SortedVector<audio_io_handle_t> outputs = in updateCallRouting()
535 audio_io_handle_t output = selectOutput(outputs, in updateCallRouting()
764 audio_io_handle_t output = mOutputs.keyAt(i); in setForceUse()
774 audio_io_handle_t activeInput = getActiveInput(); in setForceUse()
818 audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream, in getOutput()
[all …]
/frameworks/av/include/media/
DIAudioFlinger.h74 audio_io_handle_t output,
84 audio_io_handle_t input,
100 virtual uint32_t sampleRate(audio_io_handle_t output) const = 0;
101 virtual audio_format_t format(audio_io_handle_t output) const = 0;
102 virtual size_t frameCount(audio_io_handle_t output) const = 0;
105 virtual uint32_t latency(audio_io_handle_t output) const = 0;
120 audio_io_handle_t output) = 0;
124 audio_io_handle_t output) const = 0;
134 virtual status_t setParameters(audio_io_handle_t ioHandle,
136 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys)
[all …]
DAudioSystem.h58 audio_io_handle_t output);
60 audio_io_handle_t output);
84 static status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
85 static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys);
108 static status_t getSamplingRate(audio_io_handle_t output,
112 static status_t getFrameCount(audio_io_handle_t output,
116 static status_t getLatency(audio_io_handle_t output,
135 static status_t getRenderPosition(audio_io_handle_t output,
140 static uint32_t getInputFramesLost(audio_io_handle_t ioHandle);
216 static audio_io_handle_t getOutput(audio_stream_type_t stream,
[all …]
DIAudioPolicyService.h53 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
59 virtual audio_io_handle_t getOutputForAttr(const audio_attributes_t *attr,
65 virtual status_t startOutput(audio_io_handle_t output,
68 virtual status_t stopOutput(audio_io_handle_t output,
71 virtual void releaseOutput(audio_io_handle_t output) = 0;
72 virtual audio_io_handle_t getInput(audio_source_t inputSource,
78 virtual status_t startInput(audio_io_handle_t input,
80 virtual status_t stopInput(audio_io_handle_t input,
82 virtual void releaseInput(audio_io_handle_t input,
95 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) = 0;
[all …]
DAudioEffect.h234 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE
246 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE
268 audio_io_handle_t io = AUDIO_IO_HANDLE_NONE
DIAudioFlingerClient.h36 virtual void ioConfigChanged(int event, audio_io_handle_t ioHandle, const void *param2) = 0;
DAudioRecord.h309 audio_io_handle_t getInput() const;
505 audio_io_handle_t mInput; // returned by AudioSystem::getInput()
/frameworks/av/services/audioflinger/
DAudioFlinger.h109 audio_io_handle_t output,
116 audio_io_handle_t input,
129 virtual uint32_t sampleRate(audio_io_handle_t output) const;
130 virtual audio_format_t format(audio_io_handle_t output) const;
131 virtual size_t frameCount(audio_io_handle_t output) const;
132 virtual uint32_t latency(audio_io_handle_t output) const;
141 audio_io_handle_t output);
145 audio_io_handle_t output) const;
153 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs);
154 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const;
[all …]
DAudioFlinger.cpp541 audio_io_handle_t output, in createTrack()
676 uint32_t AudioFlinger::sampleRate(audio_io_handle_t output) const in sampleRate()
687 audio_format_t AudioFlinger::format(audio_io_handle_t output) const in format()
698 size_t AudioFlinger::frameCount(audio_io_handle_t output) const in frameCount()
711 uint32_t AudioFlinger::latency(audio_io_handle_t output) const in latency()
894 audio_io_handle_t output) in setStreamVolume()
949 float AudioFlinger::streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const in streamVolume()
980 status_t AudioFlinger::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters()
1066 String8 AudioFlinger::getParameters(audio_io_handle_t ioHandle, const String8& keys) const in getParameters()
1124 uint32_t AudioFlinger::getInputFramesLost(audio_io_handle_t ioHandle) const in getInputFramesLost()
[all …]
DThreads.h35 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
232 audio_io_handle_t id() const { return mId;} in id()
429 const audio_io_handle_t mId;
468 audio_io_handle_t id, audio_devices_t device, type_t type);
834 audio_io_handle_t id,
893 audio_io_handle_t id, audio_devices_t device);
921 audio_io_handle_t id, uint32_t device, ThreadBase::type_t type);
934 audio_io_handle_t id, uint32_t device);
992 audio_io_handle_t id);
1051 audio_io_handle_t id,
/frameworks/av/media/libmedia/
DIAudioFlinger.cpp102 audio_io_handle_t output, in createTrack()
171 audio_io_handle_t input, in openRecord()
261 virtual uint32_t sampleRate(audio_io_handle_t output) const in sampleRate()
270 virtual audio_format_t format(audio_io_handle_t output) const in format()
279 virtual size_t frameCount(audio_io_handle_t output) const in frameCount()
288 virtual uint32_t latency(audio_io_handle_t output) const in latency()
332 audio_io_handle_t output) in setStreamVolume()
353 virtual float streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const in streamVolume()
398 virtual status_t setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters()
408 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys) const in getParameters()
[all …]
DIAudioPolicyService.cpp136 virtual audio_io_handle_t getOutput( in getOutput()
159 return static_cast <audio_io_handle_t> (reply.readInt32()); in getOutput()
162 virtual audio_io_handle_t getOutputForAttr( in getOutputForAttr()
174 return (audio_io_handle_t) 0; in getOutputForAttr()
189 return static_cast <audio_io_handle_t> (reply.readInt32()); in getOutputForAttr()
192 virtual status_t startOutput(audio_io_handle_t output, in startOutput()
205 virtual status_t stopOutput(audio_io_handle_t output, in stopOutput()
218 virtual void releaseOutput(audio_io_handle_t output) in releaseOutput()
226 virtual audio_io_handle_t getInput( in getInput()
243 return static_cast <audio_io_handle_t> (reply.readInt32()); in getInput()
[all …]
DAudioSystem.cpp40 DefaultKeyedVector<audio_io_handle_t, AudioSystem::OutputDescriptor *> AudioSystem::gOutputs(NULL);
136 audio_io_handle_t output) in setStreamVolume()
155 audio_io_handle_t output) in getStreamVolume()
181 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters()
188 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) in getParameters()
234 audio_io_handle_t output; in getOutputSamplingRate()
254 audio_io_handle_t output = getOutputForAttr(attr); in getOutputSamplingRateForAttr()
261 status_t AudioSystem::getSamplingRate(audio_io_handle_t output, in getSamplingRate()
291 audio_io_handle_t output; in getOutputFrameCount()
305 status_t AudioSystem::getFrameCount(audio_io_handle_t output, in getFrameCount()
[all …]
DIAudioFlingerClient.cpp42 void ioConfigChanged(int event, audio_io_handle_t ioHandle, const void *param2) in ioConfigChanged()
76 audio_io_handle_t ioHandle = (audio_io_handle_t) data.readInt32(); in onTransact()
DAudioEffect.cpp50 audio_io_handle_t io in AudioEffect()
63 audio_io_handle_t io in AudioEffect()
95 audio_io_handle_t io) in set()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h71 Model(sound_model_handle_t handle, audio_session_t session, audio_io_handle_t ioHandle,
78 audio_io_handle_t mCaptureIOHandle;

12