HomeSort by relevance Sort by last modified time
    Searched refs:mCpcapCtlFd (Results 1 - 2 of 2) sorted by null

  /device/moto/wingray/libaudio/
AudioHardware.cpp 56 mOutput(0), /*mCurOut/InDevice*/ mCpcapCtlFd(-1), mHwOutRate(0), mHwInRate(0),
71 mCpcapCtlFd = ::open("/dev/audio_ctl", O_RDWR);
72 if (mCpcapCtlFd < 0) {
77 if (::ioctl(mCpcapCtlFd, CPCAP_AUDIO_OUT_GET_OUTPUT, &mCurOutDevice) < 0) {
81 if (::ioctl(mCpcapCtlFd, CPCAP_AUDIO_IN_GET_INPUT, &mCurInDevice) < 0) {
86 if (::ioctl(mCpcapCtlFd, CPCAP_AUDIO_OUT_GET_RATE, &mHwOutRate) < 0) {
90 if (::ioctl(mCpcapCtlFd, CPCAP_AUDIO_IN_GET_RATE, &mHwInRate) < 0) {
106 if (mCpcapCtlFd >= 0) {
107 (void) ::close(mCpcapCtlFd);
108 mCpcapCtlFd = -1
    [all...]
AudioHardware.h 355 int mCpcapCtlFd;

Completed in 48 milliseconds