Home
last modified time | relevance | path

Searched refs:mDevices (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/audio/alsa_sound/
DAudioStreamOutALSA.cpp163 if((mDevices & AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)|| in write()
164 (mDevices & AudioSystem::DEVICE_OUT_DGTL_DOCK_HEADSET)|| in write()
165 (mDevices & AudioSystem::DEVICE_OUT_PROXY)) { in write()
166 mDevices |= AudioSystem::DEVICE_OUT_PROXY; in write()
167 mHandle->module->route(mHandle, mDevices , mParent->mode()); in write()
171 mHandle->module->route(mHandle, mDevices , AudioSystem::MODE_IN_COMMUNICATION); in write()
174 } else if((mDevices & AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)|| in write()
175 (mDevices & AudioSystem::DEVICE_OUT_DGTL_DOCK_HEADSET)|| in write()
176 (mDevices & AudioSystem::DEVICE_OUT_PROXY)) { in write()
177 mDevices |= AudioSystem::DEVICE_OUT_PROXY; in write()
[all …]
DALSAStreamOps.cpp99 mDevices = device; in set()
219 if ((device == 0) && (mDevices == AudioSystem::DEVICE_OUT_AUX_DIGITAL)) { in setParameters()
223 mDevices = device; in setParameters()
237 mDevices = device; in setParameters()
256 param.addInt(key, (int)mDevices); in getParameters()
358 if (mDevices & AudioSystem::DEVICE_OUT_ALL) in channels()
DAudioStreamInALSA.cpp246 if((mDevices & AudioSystem::DEVICE_IN_ANLG_DOCK_HEADSET) || in read()
247 (mDevices & AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)) { in read()
248 …mHandle->module->route(mHandle, (mDevices | AudioSystem::DEVICE_IN_PROXY) , AudioSystem::MODE_IN_C… in read()
252 mHandle->module->route(mHandle, mDevices , AudioSystem::MODE_IN_COMMUNICATION); in read()
263 mHandle->module->route(mHandle, mDevices , mParent->mode()); in read()
305 if(((mDevices & AudioSystem::DEVICE_IN_ANLG_DOCK_HEADSET) || in read()
306 (mDevices & AudioSystem::DEVICE_OUT_ANLG_DOCK_HEADSET)) && in read()
DAudioHardwareALSA.h286 uint32_t mDevices; variable
/hardware/msm7k/libaudio/
DAudioHardware.h181 uint32_t devices() { return mDevices; } in devices()
190 uint32_t mDevices; variable
220 uint32_t devices() { return mDevices; } in devices()
233 uint32_t mDevices; variable
DAudioHardware.cpp661 mHardware(0), mFd(-1), mStartCount(0), mRetryCount(0), mStandby(true), mDevices(0) in AudioStreamOutMSM72xx()
693 mDevices = devices; in set()
837 mDevices = device; in setParameters()
838 ALOGV("set output routing %x", mDevices); in setParameters()
856 ALOGV("get routing %x", mDevices); in getParameters()
857 param.addInt(key, (int)mDevices); in getParameters()
876 mAcoustics((AudioSystem::audio_in_acoustics)0), mDevices(0) in AudioStreamInMSM72xx()
959 mDevices = devices; in set()
1017 if (set(mHardware, mDevices, &mFormat, &mChannels, &mSampleRate, mAcoustics) != NO_ERROR) { in read()
1103 mDevices = device; in setParameters()
[all …]
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.h258 uint32_t devices() { return mDevices; } in devices()
267 uint32_t mDevices; variable
294 uint32_t devices() { return mDevices; } in devices()
307 uint32_t mDevices; variable
DAudioHardware.cpp1537 mDevices(0), mChannels(AUDIO_HW_OUT_CHANNELS), mSampleRate(AUDIO_HW_OUT_SAMPLERATE), in AudioStreamOutMSM72xx()
1550 mDevices = devices; in set()
1733 mDevices = device; in setParameters()
1734 ALOGV("set output routing %x", mDevices); in setParameters()
1752 ALOGV("get routing %x", mDevices); in getParameters()
1753 param.addInt(key, (int)mDevices); in getParameters()
1772 mAcoustics((AudioSystem::audio_in_acoustics)0), mDevices(0) in AudioStreamInMSM72xx()
1808 mDevices = devices; in set()
1992 mDevices = device; in setParameters()
2011 ALOGV("get routing %x", mDevices); in getParameters()
[all …]
/hardware/msm7k/libaudio-qdsp5v2/
DAudioHardware.h119 uint32_t devices() { return mDevices; } in devices()
128 uint32_t mDevices; variable
DAudioHardware.cpp169 mDevices(0), mChannels(AUDIO_HW_OUT_CHANNELS), mSampleRate(AUDIO_HW_OUT_SAMPLERATE), in AudioStreamOutQ5V2()
182 mDevices = devices; in set()