Lines Matching defs:input

1169             // indicate output device change to all input threads for pre processing
1469 audio_io_handle_t input,
1541 RecordThread *thread = checkRecordThread_l(input);
1563 ALOGV("openRecord() lSessionId: %d input %d", lSessionId, input);
2075 audio_io_handle_t *input,
2088 sp<RecordThread> thread = openInput_l(module, input, config, *devices, address, source, flags);
2091 // notify client processes of the new input creation
2099 audio_io_handle_t *input,
2108 *input = AUDIO_IO_HANDLE_NONE;
2113 // The goal here is not to re-open an already opened input.
2115 if (*input == AUDIO_IO_HANDLE_NONE) {
2116 *input = nextUniqueId(AUDIO_UNIQUE_ID_USE_INPUT);
2117 } else if (audio_unique_id_get_use(*input) != AUDIO_UNIQUE_ID_USE_INPUT) {
2118 ALOGE("openInput_l() requested input handle %d is invalid", *input);
2120 } else if (mRecordThreads.indexOfKey(*input) >= 0) {
2122 ALOGE("openInput_l() requested input handle %d is already assigned", *input);
2129 status_t status = inHwHal->open_input_stream(inHwHal, *input, devices, &halconfig,
2131 ALOGV("openInput_l() openInputStream returned input %p, SamplingRate %d"
2140 // If the input could not be opened with the requested parameters and we can handle the
2151 status = inHwHal->open_input_stream(inHwHal, *input, devices, &halconfig,
2159 // Try to re-use most recently used Pipe to archive a copy of input for dumpsys,
2163 TEE_SINK_NO, // don't copy input
2164 TEE_SINK_NEW, // copy input using a new pipe
2165 TEE_SINK_OLD, // copy input using an existing pipe
2210 // RecordThread requires both input and output device indication to forward to audio
2214 *input,
2222 mRecordThreads.add(*input, thread);
2223 ALOGV("openInput_l() created record thread: ID %d thread %p", *input, thread.get());
2227 *input = AUDIO_IO_HANDLE_NONE;
2231 status_t AudioFlinger::closeInput(audio_io_handle_t input)
2233 return closeInput_nonvirtual(input);
2236 status_t AudioFlinger::closeInput_nonvirtual(audio_io_handle_t input)
2243 thread = checkRecordThread_l(input);
2248 ALOGV("closeInput() %d", input);
2287 ioDesc->mIoHandle = input;
2289 mRecordThreads.removeItem(input);
2500 AudioFlinger::RecordThread *AudioFlinger::checkRecordThread_l(audio_io_handle_t input) const
2502 return mRecordThreads.valueFor(input).get();
2752 // Note: io is never 0 when creating an effect on an input