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);
377 size_t AudioSystem::getInputFramesLost(audio_io_handle_t ioHandle) {
381 if (ioHandle == 0) return result;
383 result = af->getInputFramesLost(ioHandle);
422 void AudioSystem::AudioFlingerClient::ioConfigChanged(int event, audio_io_handle_t ioHandle,
428 if (ioHandle == 0) return;
436 if (gOutputs.indexOfKey(ioHandle) >= 0) {
437 ALOGV("ioConfigChanged() opening already existing output! %d", ioHandle);
444 gOutputs.add(ioHandle, outputDesc);
451 if (gOutputs.indexOfKey(ioHandle) < 0) {
452 ALOGW("ioConfigChanged() closing unknow output! %d", ioHandle);
455 ALOGV("ioConfigChanged() output %d closed", ioHandle);
457 gOutputs.removeItem(ioHandle);
461 int index = gOutputs.indexOfKey(ioHandle);
463 ALOGW("ioConfigChanged() modifying unknow output! %d", ioHandle);
471 ioHandle, desc->samplingRate, desc->format,
476 gOutputs.replaceValueFor(ioHandle, outputDesc);