Lines Matching full:typ
80 const char *typ, in oss_logerr2() argument
87 AUD_log (AUDIO_CAP, "Could not initialize %s\n", typ); in oss_logerr2()
222 static int oss_get_version (int fd, int *version, const char *typ) in oss_get_version() argument
239 oss_logerr2 (errno, typ, "Failed to get OSS version\n"); in oss_get_version()
257 const char *typ = in ? "ADC" : "DAC"; in oss_open() local
268 oss_logerr2 (errno, typ, "Failed to open `%s'\n", dspname); in oss_open()
280 oss_logerr2 (errno, typ, "Failed to set sample size %d\n", req->fmt); in oss_open()
285 oss_logerr2 (errno, typ, "Failed to set number of channels %d\n", in oss_open()
291 oss_logerr2 (errno, typ, "Failed to set frequency %d\n", req->freq); in oss_open()
296 oss_logerr2 (errno, typ, "Failed to set non-blocking mode\n"); in oss_open()
304 if (!oss_get_version (fd, &version, typ)) { in oss_open()
310 oss_logerr2 (errno, typ, in oss_open()
324 oss_logerr2 (errno, typ, "Failed to set buffer length (%d, %d)\n", in oss_open()
331 oss_logerr2 (errno, typ, "Failed to get buffer length\n"); in oss_open()
337 abinfo.fragstotal, abinfo.fragsize, typ); in oss_open()