Home | History | Annotate | Download | only in audio

Lines Matching refs:mOutputs

90         mPreviousOutputs = mOutputs;
170 AudioOutputDescriptor *desc = mOutputs.valueFor(outputs[i]);
182 for (size_t i = 0; i < mOutputs.size(); i++) {
186 setOutputDevice(mOutputs.keyAt(i),
187 getNewDevice(mOutputs.keyAt(i), true /*fromCache*/),
188 !mOutputs.valueAt(i)->isDuplicated(),
348 AudioOutputDescriptor *hwOutputDesc = mOutputs.valueFor(mPrimaryOutput);
359 for (size_t i = 0; i < mOutputs.size(); i++) {
360 AudioOutputDescriptor *desc = mOutputs.valueAt(i);
373 setStrategyMute(STRATEGY_MEDIA, true, mOutputs.keyAt(i));
374 setStrategyMute(STRATEGY_MEDIA, false, mOutputs.keyAt(i), MUTE_TIME_MS,
376 setStrategyMute(STRATEGY_SONIFICATION, true, mOutputs.keyAt(i));
377 setStrategyMute(STRATEGY_SONIFICATION, false, mOutputs.keyAt(i), MUTE_TIME_MS,
465 for (size_t i = 0; i < mOutputs.size(); i++) {
466 audio_io_handle_t output = mOutputs.keyAt(i);
611 for (size_t i = 0; i < mOutputs.size(); i++) {
612 AudioOutputDescriptor *desc = mOutputs.valueAt(i);
620 ALOGV("getOutput() reusing direct output %d", mOutputs.keyAt(i));
621 return mOutputs.keyAt(i);
669 mPreviousOutputs = mOutputs;
682 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs);
716 AudioOutputDescriptor *outputDesc = mOutputs.valueFor(outputs[i]);
745 ssize_t index = mOutputs.indexOfKey(output);
751 AudioOutputDescriptor *outputDesc = mOutputs.valueAt(index);
765 for (size_t i = 0; i < mOutputs.size(); i++) {
766 AudioOutputDescriptor *desc = mOutputs.valueAt(i);
813 ssize_t index = mOutputs.indexOfKey(output);
819 AudioOutputDescriptor *outputDesc = mOutputs.valueAt(index);
842 for (size_t i = 0; i < mOutputs.size(); i++) {
843 audio_io_handle_t curOutput = mOutputs.keyAt(i);
844 AudioOutputDescriptor *desc = mOutputs.valueAt(i);
868 ssize_t index = mOutputs.indexOfKey(output);
877 AudioOutputDescriptor *outputDesc = mOutputs.valueAt(index);
880 delete mOutputs.valueAt(index);
881 mOutputs.removeItem(output);
888 AudioOutputDescriptor *desc = mOutputs.valueAt(index);
1135 for (size_t i = 0; i < mOutputs.size(); i++) {
1137 getDeviceForVolume(mOutputs.valueAt(i)->device());
1139 status_t volStatus = checkAndSetVolume(stream, index, mOutputs.keyAt(i), curDevice);
1189 AudioOutputDescriptor *desc = mOutputs.valueFor(outputs[i]);
1217 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(device, mOutputs);
1232 ssize_t index = mOutputs.indexOfKey(io);
1347 for (size_t i = 0; i < mOutputs.size(); i++) {
1348 const AudioOutputDescriptor *outputDesc = mOutputs.valueAt(i);
1359 for (size_t i = 0; i < mOutputs.size(); i++) {
1360 const AudioOutputDescriptor *outputDesc = mOutputs.valueAt(i);
1430 for (size_t i = 0; i < mOutputs.size(); i++) {
1431 snprintf(buffer, SIZE, "- Output %d dump:\n", mOutputs.keyAt(i));
1433 mOutputs.valueAt(i)->dump(fd);
1659 for (size_t i = 0; i < mOutputs.size(); i++) {
1660 mpClientInterface->closeOutput(mOutputs.keyAt(i));
1661 delete mOutputs.valueAt(i);
1773 AudioOutputDescriptor *outputDesc = mOutputs.valueFor(mPrimaryOutput);
1778 delete mOutputs.valueFor(mPrimaryOutput);
1779 mOutputs.removeItem(mPrimaryOutput);
1832 mOutputs.add(id, outputDesc);
1850 for (size_t i = 0; i < mOutputs.size(); i++) {
1851 desc = mOutputs.valueAt(i);
1853 ALOGV("checkOutputsForDevice(): adding opened output %d", mOutputs.keyAt(i));
1854 outputs.add(mOutputs.keyAt(i));
1885 for (j = 0; j < mOutputs.size(); j++) {
1886 desc = mOutputs.valueAt(j);
1891 if (j != mOutputs.size()) {
1990 dupOutputDesc->mOutput1 = mOutputs.valueFor(mPrimaryOutput);
1991 dupOutputDesc->mOutput2 = mOutputs.valueFor(output);
2002 mOutputs.removeItem(output);
2025 for (size_t i = 0; i < mOutputs.size(); i++) {
2026 desc = mOutputs.valueAt(i);
2029 ALOGV("checkOutputsForDevice(): disconnecting adding output %d", mOutputs.keyAt(i));
2030 outputs.add(mOutputs.keyAt(i));
2246 AudioOutputDescriptor *outputDesc = mOutputs.valueFor(output);
2253 for (size_t i = 0; i < mOutputs.size(); i++) {
2254 AudioOutputDescriptor *dupOutputDesc = mOutputs.valueAt(i);
2272 audio_io_handle_t duplicatedOutput = mOutputs.keyAt(i);
2276 delete mOutputs.valueFor(duplicatedOutput);
2277 mOutputs.removeItem(duplicatedOutput);
2287 mOutputs.removeItem(output);
2288 mOutputs;
2327 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(newDevice, mOutputs);
2334 AudioOutputDescriptor *desc = mOutputs.valueFor(srcOutputs[i]);
2385 for (size_t i = 0; i < mOutputs.size(); i++) {
2386 AudioOutputDescriptor *outputDesc = mOutputs.valueAt(i);
2388 return mOutputs.keyAt(i);
2444 AudioOutputDescriptor *outputDesc = mOutputs.valueFor(output);
2750 mPreviousOutputs = mOutputs;
2784 for (size_t j = 0; j < mOutputs.size(); j++) {
2785 AudioOutputDescriptor *desc = mOutputs.valueAt(j);
2791 audio_io_handle_t curOutput = mOutputs.keyAt(j);
2832 AudioOutputDescriptor *outputDesc = mOutputs.valueFor(output);
3238 AudioOutputDescriptor *outputDesc = mOutputs.valueFor(output);
3303 if (mOutputs.valueFor(output)->mMuteCount[stream] != 0) {
3305 stream, mOutputs.valueFor(output)->mMuteCount[stream]);
3321 if (volume != mOutputs.valueFor(output)->mCurVolume[stream] ||
3323 mOutputs.valueFor(output)->mCurVolume[stream] = volume;
3390 AudioOutputDescriptor *outputDesc = mOutputs.valueFor(output);
3434 AudioOutputDescriptor *outputDesc = mOutputs.valueFor(mPrimaryOutput);