Lines Matching defs:device
51 quality and driver instability (depends on device).
52 The order here determines the default sample rate for the device.
57 requires opening the device which may cause pops. */
63 profile->card = profile->device = -1;
84 return profile->card >= 0 && profile->device >= 0;
91 bool profile_is_cached_for(const alsa_device_profile* profile, int card, int device) {
92 return card == profile->card && device == profile->device;
225 struct pcm * pcm = pcm_open(profile->card, profile->device,
310 ALOGW("usb device does not match std channel counts, setting to %d",
319 * Reads and decodes configuration info from the specified ALSA card/device.
324 profile->card, profile->device, profile->direction);
326 if (profile->card < 0 || profile->device < 0) {
331 pcm_params_get(profile->card, profile->device, profile->direction);
353 // (assuming the device supports it).
396 profile->device,
539 * The total number of output channels. SO, if the device itself doesn't explicitly
597 /* card/device/direction */
598 dprintf(fd, " card:%d, device:%d - %s\n",
599 profile->card, profile->device, profile->direction == PCM_OUT ? "OUT" : "IN");