Lines Matching defs:g_AudioDev
74 static int g_AudioDev = -1;
156 close(g_AudioDev);
157 g_AudioDev = -1;
186 g_AudioDev = open(g_pszAudioDev, O_WRONLY | O_NONBLOCK);
187 if (g_AudioDev < 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)
336 ioctl(g_AudioDev, AUDIO_GETINFO, &AudioInfo);
343 ioctl(g_AudioDev, AUDIO_SETINFO, &AudioInfo);
358 if (ioctl(g_AudioDev, I_FLUSH, FLUSHW) < 0)
372 if (ioctl(g_AudioDev, AUDIO_SETINFO, &AudioInfo) < 0)
383 if (ioctl(g_AudioDev, AUDIO_GETINFO, &sol->AudioInfo) < 0)
397 ioctl(g_AudioDev, AUDIO_SETINFO, &sol->AudioInfo);
437 cbWritten = write(g_AudioDev, pu8Dst, cbToWrite);
446 write (g_AudioDev, NULL, 0);
711 if (ioctl(g_AudioDev, I_NREAD, &cbAvail) < 0)
722 cbRead = read(g_AudioDev, pu8Src, cbAvail);