Lines Matching defs:g_pszAudioDev
77 static char *g_pszAudioDev = NULL;
186 g_AudioDev = open(g_pszAudioDev, O_WRONLY | O_NONBLOCK);
189 LogRel(("solaudio: failed to open device %s dst=%d\n", g_pszAudioDev, dst));
199 g_RecordDev = open(g_pszAudioDev, (dst == enmRecord ? O_RDONLY : O_WRONLY) | O_NONBLOCK);
202 LogRel(("solaudio: failed to open device %s dst=%d\n", g_pszAudioDev, dst));
486 if (!g_pszAudioDev)
488 g_pszAudioDev = solaudio_getdevice();
489 if (!g_pszAudioDev)
496 if (stat(g_pszAudioDev, &FileStat) < 0)
498 LogRel(("solaudio: failed to stat %s\n", g_pszAudioDev));
504 LogRel(("solaudio: invalid mode for %s\n", g_pszAudioDev));
509 RTStrAPrintf(&g_pszAudioCtl, "%sctl", g_pszAudioDev);
528 if (g_pszAudioDev)
530 RTStrFree(g_pszAudioDev);
531 g_pszAudioDev = NULL;