Home | History | Annotate | Download | only in generic

Lines Matching full:card

158  * returns its card-number. If no match, returns -1.
189 return info.card;
203 * Returns the number of the first valid USB Audio card
232 ALOGW("No usb-card found in /dev/snd");
237 static bool parse_card_device_params(bool is_out_stream, int *card, int *device)
244 *card = out_stream_card_number;
250 *card = in_stream_card_number;
265 *card = -1;
276 *card = found_card;
284 if (profile->card < 0 || profile->device < 0) {
420 int card = -1;
423 if (!parse_card_device_params(true, &card, &device)) {
432 if (!profile_is_cached_for(out->profile, card, device)) {
437 int saved_card = out->profile->card;
439 out->profile->card = card;
443 out->profile->card = saved_card;
483 ALOGV("start_output_stream(card:%d device:%d)", out->profile->card, out->profile->device);
630 /* Pull out the card/device pair */
631 parse_card_device_params(true, &(out->profile->card), &(out->profile->device));
717 ALOGV("adev_close_output_stream(c:%d d:%d)", out->profile->card, out->profile->device);
810 int card = -1;
813 if (!parse_card_device_params(false, &card, &device)) {
821 if (card >= 0 && device >= 0 && !profile_is_cached_for(in->profile, card, device)) {
826 int saved_card = in->profile->card;
828 in->profile->card = card;
832 in->profile->card = saved_card;
877 ALOGV("ustart_input_stream(card:%d device:%d)", in->profile->card, in->profile->device);
1011 /* Pull out the card/device pair */
1012 parse_card_device_params(false, &(in->profile->card