Lines Matching refs:ioHandle
169 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) {
172 return af->setParameters(ioHandle, keyValuePairs);
175 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) {
180 result = af->getParameters(ioHandle, keys);
384 unsigned int AudioSystem::getInputFramesLost(audio_io_handle_t ioHandle) {
388 if (ioHandle == 0) return result;
390 result = af->getInputFramesLost(ioHandle);
429 void AudioSystem::AudioFlingerClient::ioConfigChanged(int event, audio_io_handle_t ioHandle,
435 if (ioHandle == 0) return;
443 if (gOutputs.indexOfKey(ioHandle) >= 0) {
444 ALOGV("ioConfigChanged() opening already existing output! %d", ioHandle);
451 gOutputs.add(ioHandle, outputDesc);
456 if (gOutputs.indexOfKey(ioHandle) < 0) {
457 ALOGW("ioConfigChanged() closing unknow output! %d", ioHandle);
460 ALOGV("ioConfigChanged() output %d closed", ioHandle);
462 gOutputs.removeItem(ioHandle);
466 int index = gOutputs.indexOfKey(ioHandle);
468 ALOGW("ioConfigChanged() modifying unknow output! %d", ioHandle);
475 ioHandle, desc->samplingRate, desc->format,
480 gOutputs.replaceValueFor(ioHandle, outputDesc);