Lines Matching defs:control

249             TRACE2("Simple mixer control '%s',%i\n",
356 void* control;
370 control = (creator->newFloatControl)(creator, portControl, CONTROL_TYPE_VOLUME, 0.0F, +1.0F, precision, "");
371 return control;
378 void* control;
417 // single volume control
428 control = createVolumeControl(creator, portControl, elem, isPlayback);
429 if (control != NULL) {
430 controls[numControls++] = control;
433 } else { // more than two channels, each channels has its own control.
442 control = createVolumeControl(creator, portControl, elem, isPlayback);
443 // We wrap in a compound control to provide the channel name.
444 if (control != NULL) {
448 control = (creator->newCompoundControl)(creator, (char*) snd_mixer_selem_channel_name(channel), &control, 1);
450 if (control != NULL) {
451 controls[numControls++] = control;
457 // BALANCE control
465 control = (creator->newFloatControl)(creator, portControl, CONTROL_TYPE_BALANCE, -1.0F, 1.0F, 0.01F, "");
466 if (control != NULL) {
467 controls[numControls++] = control;
478 control = (creator->newBooleanControl)(creator, portControl, type);
479 if (control != NULL) {
480 controls[numControls++] = control;
488 control = (creator->newCompoundControl)(creator, portName, controls, numControls);
489 if (control != NULL) {
490 (creator->addControl)(creator, control);
525 ERROR1("PORT_GetIntValue(): inappropriate control type: %s\n",
549 ERROR1("PORT_SetIntValue(): inappropriate control type: %s\n",
685 ERROR1("PORT_GetFloatValue(): inappropriate control type: %s!\n",
717 ERROR1("PORT_SetFloatValue(): inappropriate control type: %s!\n",