Lines Matching refs:mFd
44 : mOutput(0), mInput(0), mFd(-1), mMicMute(false)
46 mFd = ::open(kAudioDeviceName, O_RDWR);
51 if (mFd >= 0) ::close(mFd);
58 if (mFd >= 0) {
80 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate);
120 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics);
170 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false");
222 mFd = fd;
234 return ssize_t(::write(mFd, buffer, bytes));
262 snprintf(buffer, SIZE, "\tmFd: %d\n", mFd);
332 mFd = fd;
344 if (mFd < 0) {
348 return ::read(mFd, buffer, bytes);
370 snprintf(buffer, SIZE, "\tmFd: %d\n", mFd);