Lines Matching defs:g_RecordDev
75 static int g_RecordDev = -1;
164 close(g_RecordDev);
165 g_RecordDev = -1;
199 g_RecordDev = open(g_pszAudioDev, (dst == enmRecord ? O_RDONLY : O_WRONLY) | O_NONBLOCK);
200 if (g_RecordDev < 0)
228 if (ioctl(dst == enmPlay ? g_AudioDev : g_RecordDev, AUDIO_GETINFO, &AudioInfo) < 0)
253 if (ioctl(dst == enmPlay ? g_AudioDev : g_RecordDev, AUDIO_SETINFO, &AudioInfo) < 0)
551 if (ioctl(g_RecordDev, AUDIO_GETINFO, &AudioInfo) < 0)
558 if (ioctl(g_RecordDev, AUDIO_SETINFO, &AudioInfo))
567 if (ioctl(g_RecordDev, AUDIO_GETINFO, &AudioInfo) < 0)
574 if (ioctl(g_RecordDev, AUDIO_SETINFO, &AudioInfo))
591 if (ioctl(g_RecordDev, I_FLUSH, FLUSHR) < 0)
602 if (ioctl(g_RecordDev, AUDIO_SETINFO, &AudioInfo) < 0)
779 nread = read (g_RecordDev, p, bufs[i].len);