Lines Matching defs:device
1197 "Opened PCM element %s of %s, device %d, subdevice %d\n",
1206 int device, int subdevice,
1213 snd_ctl_elem_id_set_device(id, device);
1232 static int openctl(struct loopback_handle *lhandle, int device, int subdevice)
1248 openctl_elem(lhandle, device, subdevice, "Playback Pitch 1000000",
1256 openctl_elem(lhandle, device, subdevice, "PCM Notify",
1258 openctl_elem(lhandle, device, subdevice, "PCM Rate Shift 100000",
1260 openctl_elem(lhandle, device, subdevice, "Capture Pitch 1000000",
1263 openctl_elem(lhandle, device, subdevice, "PCM Slave Active",
1265 openctl_elem(lhandle, device, subdevice, "PCM Slave Format",
1267 openctl_elem(lhandle, device, subdevice, "PCM Slave Rate",
1269 openctl_elem(lhandle, device, subdevice, "PCM Slave Channels",
1293 int err, card, device, subdevice;
1295 err = snd_pcm_open(&lhandle->handle, lhandle->device, stream, SND_PCM_NONBLOCK);
1308 device = snd_pcm_info_get_device(info);
1327 openctl(lhandle, device, subdevice);
2067 OUT(" device = '%s', ctldev '%s'\n", lhandle->device, lhandle->ctldev);