Lines Matching defs:devname
74 char devname[16];
88 sprintf(devname, ALSA_HARDWARE_CARD, card);
89 TRACE1("PORT_GetPortMixerCount: Opening alsa device \"%s\"...\n", devname);
90 err = snd_ctl_open(&handle, devname, 0);
111 char devname[16];
118 sprintf(devname, ALSA_HARDWARE_CARD, (int) mixerIndex);
119 TRACE1("Opening alsa device \"%s\"...\n", devname);
120 err = snd_ctl_open(&handle, devname, 0);
130 sprintf(buffer, " [%s]", devname);
146 char devname[16];
152 sprintf(devname, ALSA_HARDWARE_CARD, (int) mixerIndex);
154 ERROR2("Mixer %s open error: %s", devname, snd_strerror(err));
157 if ((err = snd_mixer_attach(mixer_handle, devname)) < 0) {
158 ERROR2("Mixer attach %s error: %s", devname, snd_strerror(err));
169 ERROR2("Mixer %s load error: %s", devname, snd_strerror(err));