Lines Matching defs:err
8 int idx, dev, err;
21 if ((err = snd_card_next(&idx)) < 0) {
22 printf("Card next error: %s\n", snd_strerror(err));
28 if ((err = snd_ctl_open(&handle, str, 0)) < 0) {
29 printf("Open error: %s\n", snd_strerror(err));
32 if ((err = snd_ctl_card_info(handle, info)) < 0) {
33 printf("HW info error: %s\n", snd_strerror(err));
47 if ((err = snd_ctl_pcm_next_device(handle, &dev)) < 0) {
48 printf(" PCM next device error: %s\n", snd_strerror(err));
56 if ((err = snd_ctl_pcm_info(handle, pcminfo)) < 0) {
57 printf(" PCM info error: %s\n", snd_strerror(err));
77 if ((err = snd_ctl_rawmidi_next_device(handle, &dev)) < 0) {
78 printf(" RAWMIDI next device error: %s\n", snd_strerror(err));
86 if ((err = snd_ctl_rawmidi_info(handle, rawmidiinfo)) < 0) {
87 printf(" RAWMIDI info error: %s\n", snd_strerror(err));