Lines Matching refs:device

184 // The actual value to use, which can be specified per-device via property af.fast_track_multiplier.
848 dprintf(fd, " Output device: %#x (%s)\n", mOutDevice, devicesToString(mOutDevice).string());
849 dprintf(fd, " Input device: %#x (%s)\n", mInDevice, devicesToString(mInDevice).string());
1428 audio_devices_t device,
1431 : ThreadBase(audioFlinger, id, device, AUDIO_DEVICE_NONE, type, systemReady),
2149 // device format (typically PCM 16 bit).
2155 // TODO: We currently use the associated output device channel mask and sample rate.
2159 // instead of the output device sample rate to avoid loss of high frequency information.
2523 - device type: A2DP or not
2524 - device latency
2778 // dropped while the device is on battery, so we need to hold a wake lock during
2967 // The throttle smooths out sudden large data drains from the device,
3114 // store new device and send to effects
3117 type |= patch->sinks[i].ext.device.type;
3121 // when changing the audio output device, call addBatteryData to notify
3132 // check if any other device (except speaker) is on
3147 // mPrevOutDevice is the latest device set by createAudioPatch_l(). It is not set when
3163 if (strcmp(patch->sinks[0].ext.device.address, "") != 0) {
3166 patch->sinks[0].ext.device.type,
3167 patch->sinks[0].ext.device.address);
3258 audio_io_handle_t id, audio_devices_t device, bool systemReady, type_t type)
3259 : PlaybackThread(audioFlinger, output, id, device, type, systemReady),
3267 ALOGV("MixerThread() id=%d device=%#x type=%d", id, device, type);
4302 // when changing the audio output device, call addBatteryData to notify
4313 // check if any other device (except speaker) is on
4324 // forward device change to effects that have requested to be
4325 // aware of attached audio device.
4424 // FIXME: Relaxed timing because of a certain device that can't meet latency
4434 AudioStreamOut* output, audio_io_handle_t id, audio_devices_t device, bool systemReady)
4435 : PlaybackThread(audioFlinger, output, id, device, DIRECT, systemReady)
4441 AudioStreamOut* output, audio_io_handle_t id, uint32_t device,
4443 : PlaybackThread(audioFlinger, output, id, device, type, systemReady)
4812 // forward device change to effects that have requested to be
4813 // aware of attached audio device.
5010 AudioStreamOut* output, audio_io_handle_t id, uint32_t device, bool systemReady)
5011 : DirectOutputThread(audioFlinger, output, id, device, OFFLOAD, systemReady),
6145 // disable AEC and NS if the device is a BT SCO headset supporting those pre processings
6804 // forward device change to effects that have requested to be
6805 // aware of attached audio device.
6810 // store input device and output device but do not forward output device to audio HAL.
6811 // Note that status is ignored by the caller for output device
6821 // disable AEC and NS if the device is a BT SCO headset supporting those
6836 // forward device change to effects that have requested to be
6837 // aware of attached audio device.
7052 // store new device and send to effects
7053 mInDevice = patch->sources[0].ext.device.type;
7059 // disable AEC and NS if the device is a BT SCO headset supporting those
7089 if (strcmp(patch->sources[0].ext.device.address, "") != 0) {
7091 patch->sources[0].ext.device.type,
7092 patch->sources[0].ext.device.address);
7099 (int)patch->sources[0].ext.device.type);