Lines Matching full:mfd
46 : mOutput(0), mInput(0), mFd(-1), mMicMute(false)
48 mFd = ::open(kAudioDeviceName, O_RDWR);
53 if (mFd >= 0) ::close(mFd);
60 if (mFd >= 0) {
82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate);
122 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics);
172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false");
224 mFd = fd;
236 return ssize_t(::write(mFd, buffer, bytes));
264 snprintf(buffer, SIZE, "\tmFd: %d\n", mFd);
334 mFd = fd;
346 if (mFd < 0) {
350 return ::read(mFd, buffer, bytes);
372 snprintf(buffer, SIZE, "\tmFd: %d\n", mFd);