Lines Matching defs:output

647         audio_io_handle_t output,
707 PlaybackThread *thread = checkPlaybackThread_l(output);
709 ALOGE("no playback thread found for output handle %d", output);
725 // output thread and move it here.
728 if (mPlaybackThreads.keyAt(i) != output) {
751 // move effect chain to this output thread if an effect on same session was waiting
810 audio_format_t AudioFlinger::format(audio_io_handle_t output) const
813 PlaybackThread *thread = checkPlaybackThread_l(output);
815 ALOGW("format() unknown thread %d", output);
845 uint32_t AudioFlinger::latency(audio_io_handle_t output) const
848 PlaybackThread *thread = checkPlaybackThread_l(output);
850 ALOGW("latency(): no playback thread found for output handle %d", output);
1055 audio_io_handle_t output)
1070 if (output != AUDIO_IO_HANDLE_NONE) {
1071 VolumeInterface *volumeInterface = getVolumeInterface_l(output);
1118 float AudioFlinger::streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const
1127 if (output != AUDIO_IO_HANDLE_NONE) {
1128 VolumeInterface *volumeInterface = getVolumeInterface_l(output);
1238 // indicate output device change to all input threads for pre processing
1375 audio_io_handle_t output) const
1379 PlaybackThread *playbackThread = checkPlaybackThread_l(output);
1930 audio_io_handle_t *output,
1941 if (*output == AUDIO_IO_HANDLE_NONE) {
1942 *output = nextUniqueId(AUDIO_UNIQUE_ID_USE_OUTPUT);
1944 // Audio Policy does not currently request a specific output handle.
1946 ALOGE("openOutput_l requested output handle %d is not AUDIO_IO_HANDLE_NONE", *output);
1976 *output,
1987 new MmapPlaybackThread(this, *output, outHwDev, outputStream,
1989 mMmapThreads.add(*output, thread);
1991 *output, thread.get());
1996 thread = new OffloadThread(this, outputStream, *output, devices, mSystemReady);
1997 ALOGV("openOutput_l() created offload output: ID %d thread %p",
1998 *output, thread.get());
2002 thread = new DirectOutputThread(this, outputStream, *output, devices, mSystemReady);
2003 ALOGV("openOutput_l() created direct output: ID %d thread %p",
2004 *output, thread.get());
2006 thread = new MixerThread(this, outputStream, *output, devices, mSystemReady);
2007 ALOGV("openOutput_l() created mixer output: ID %d thread %p",
2008 *output, thread.get());
2010 mPlaybackThreads.add(*output, thread);
2019 audio_io_handle_t *output,
2041 sp<ThreadBase> thread = openOutput_l(module, output, config, *devices, address, flags);
2047 // notify client processes of the new output creation
2050 // the first primary output opened designates the primary hw device
2078 ALOGW("openDuplicateOutput() wrong output mixer type for output %d or %d", output1,
2087 // notify client processes of the new output creation
2092 status_t AudioFlinger::closeOutput(audio_io_handle_t output)
2094 return closeOutput_nonvirtual(output);
2097 status_t AudioFlinger::closeOutput_nonvirtual(audio_io_handle_t output)
2105 playbackThread = checkPlaybackThread_l(output);
2107 ALOGV("closeOutput() %d", output);
2120 mPlaybackThreads.removeItem(output);
2136 mmapThread = (MmapPlaybackThread *)checkMmapThread_l(output);
2140 mMmapThreads.removeItem(output);
2144 ioDesc->mIoHandle = output;
2181 status_t AudioFlinger::suspendOutput(audio_io_handle_t output)
2184 PlaybackThread *thread = checkPlaybackThread_l(output);
2190 ALOGV("suspendOutput() %d", output);
2196 status_t AudioFlinger::restoreOutput(audio_io_handle_t output)
2199 PlaybackThread *thread = checkPlaybackThread_l(output);
2205 ALOGV("restoreOutput() %d", output);
2357 // RecordThread requires both input and output device indication to forward to audio
2651 AudioFlinger::PlaybackThread *AudioFlinger::checkPlaybackThread_l(audio_io_handle_t output) const
2653 return mPlaybackThreads.valueFor(output).get();
2657 AudioFlinger::MixerThread *AudioFlinger::checkMixerThread_l(audio_io_handle_t output) const
2659 PlaybackThread *thread = checkPlaybackThread_l(output);
2677 AudioFlinger::VolumeInterface *AudioFlinger::getVolumeInterface_l(audio_io_handle_t output) const
2679 VolumeInterface *volumeInterface = mPlaybackThreads.valueFor(output).get();
2681 MmapThread *mmapThread = mMmapThreads.valueFor(output).get();
2737 AudioStreamOut *output = thread->getOutput();
2738 if (output != NULL && output->audioHwDev == mPrimaryHardwareDev) {
2886 // Session AUDIO_SESSION_OUTPUT_STAGE is reserved for output stage effects
2948 // connect to output mix (Compliance to OpenSL ES)
2955 // Do not allow auxiliary effects on a session different from 0 (output mix)
2972 // if the output returned by getOutputForEffect() is removed before we lock the
2976 ALOGV("createEffect got output %d", io);
2981 // If output is not specified try to find a matching audio session ID in one of the
2982 // output threads.
2983 // If output is 0 here, sessionId is neither SESSION_OUTPUT_STAGE nor SESSION_OUTPUT_MIX
2984 // because of code checking output when entering the function.
2988 // output must be specified by AudioPolicyManager when using session
3016 // If no output thread contains the requested session ID, default to
3017 // first output. The effect chain will be moved to the correct output
3030 ALOGE("createEffect() unknown output thread");
3047 // create effect on selected output thread
3116 // remove chain first. This is useful only if reconfiguring effect chain on same output thread,
3142 // re-registered with the new strategy and output