Lines Matching defs:dip
782 harmony_query_devinfo(void *vsc, mixer_devinfo_t *dip)
787 switch (dip->index) {
789 dip->type = AUDIO_MIXER_VALUE;
790 dip->mixer_class = HARMONY_PORT_INPUT_CLASS;
791 dip->prev = dip->next = AUDIO_MIXER_LAST;
792 strlcpy(dip->label.name, AudioNinput, sizeof dip->label.name);
793 dip->un.v.num_channels = 2;
794 strlcpy(dip->un.v.units.name, AudioNvolume,
795 sizeof dip->un.v.units.name);
798 dip->type = AUDIO_MIXER_ENUM;
799 dip->mixer_class = HARMONY_PORT_INPUT_CLASS;
800 dip->prev = dip->next = AUDIO_MIXER_LAST;
801 strlcpy(dip->label.name, "overrange", sizeof dip->label.name);
802 dip->un.e.num_mem = 2;
803 strlcpy(dip->un.e.member[0].label.name, AudioNoff,
804 sizeof dip->un.e.member[0].label.name);
805 dip->un.e.member[0].ord = 0;
806 strlcpy(dip->un.e.member[1].label.name, AudioNon,
807 sizeof dip->un.e.member[1].label.name);
808 dip->un.e.member[1].ord = 1;
811 dip->type = AUDIO_MIXER_VALUE;
812 dip->mixer_class = HARMONY_PORT_OUTPUT_CLASS;
813 dip->prev = dip->next = AUDIO_MIXER_LAST;
814 strlcpy(dip->label.name, AudioNoutput, sizeof dip->label.name);
815 dip->un.v.num_channels = 2;
816 strlcpy(dip->un.v.units.name, AudioNvolume,
817 sizeof dip->un.v.units.name);
820 dip->type = AUDIO_MIXER_ENUM;
821 dip->mixer_class = HARMONY_PORT_OUTPUT_CLASS;
822 dip->prev = dip->next = AUDIO_MIXER_LAST;
823 strlcpy(dip->label.name, "gain", sizeof dip->label.name);
824 dip->un.e.num_mem = 2;
825 strlcpy(dip->un.e.member[0].label.name, AudioNoff,
826 sizeof dip->un.e.member[0].label.name);
827 dip->un.e.member[0].ord = 0;
828 strlcpy(dip->un.e.member[1].label.name, AudioNon,
829 sizeof dip->un.e.member[1].label.name);
830 dip->un.e.member[1].ord = 1;
833 dip->type = AUDIO_MIXER_VALUE;
834 dip->mixer_class = HARMONY_PORT_MONITOR_CLASS;
835 dip->prev = dip->next = AUDIO_MIXER_LAST;
836 strlcpy(dip->label.name, AudioNmonitor, sizeof dip->label.name);
837 dip->un.v.num_channels = 1;
838 strlcpy(dip->un.v.units.name, AudioNvolume,
839 sizeof dip->un.v.units.name);
842 dip->type = AUDIO_MIXER_ENUM;
843 dip->mixer_class = HARMONY_PORT_RECORD_CLASS;
844 dip->prev = dip->next = AUDIO_MIXER_LAST;
845 strlcpy(dip->label.name, AudioNsource, sizeof dip->label.name);
846 dip->un.e.num_mem = 2;
847 strlcpy(dip->un.e.member[0].label.name, AudioNmicrophone,
848 sizeof dip->un.e.member[0].label.name);
849 dip->un.e.member[0].ord = HARMONY_IN_MIC;
850 strlcpy(dip->un.e.member[1].label.name, AudioNline,
851 sizeof dip->un.e.member[1].label.name);
852 dip->un.e.member[1].ord = HARMONY_IN_LINE;
855 dip->type = AUDIO_MIXER_ENUM;
856 dip->mixer_class = HARMONY_PORT_MONITOR_CLASS;
857 dip->prev = dip->next = AUDIO_MIXER_LAST;
858 strlcpy(dip->label.name, AudioNoutput, sizeof dip->label.name);
859 dip->un.e.num_mem = 3;
860 strlcpy(dip->un.e.member[0].label.name, AudioNline,
861 sizeof dip->un.e.member[0].label.name);
862 dip->un.e.member[0].ord = HARMONY_OUT_LINE;
863 strlcpy(dip->un.e.member[1].label.name, AudioNspeaker,
864 sizeof dip->un.e.member[1].label.name);
865 dip->un.e.member[1].ord = HARMONY_OUT_SPEAKER;
866 strlcpy(dip->un.e.member[2].label.name, AudioNheadphone,
867 sizeof dip->un.e.member[2].label.name);
868 dip->un.e.member[2].ord = HARMONY_OUT_HEADPHONE;
871 dip->type = AUDIO_MIXER_CLASS;
872 dip->mixer_class = HARMONY_PORT_INPUT_CLASS;
873 dip->prev = dip->next = AUDIO_MIXER_LAST;
874 strlcpy(dip->label.name, AudioCinputs, sizeof dip->label.name);
877 dip->type = AUDIO_MIXER_CLASS;
878 dip->mixer_class = HARMONY_PORT_INPUT_CLASS;
879 dip->prev = dip->next = AUDIO_MIXER_LAST;
880 strlcpy(dip->label.name, AudioCoutputs, sizeof dip->label.name);
883 dip->type = AUDIO_MIXER_CLASS;
884 dip->mixer_class = HARMONY_PORT_INPUT_CLASS;
885 dip->prev = dip->next = AUDIO_MIXER_LAST;
886 strlcpy(dip->label.name, AudioCmonitor, sizeof dip->label.name);
889 dip->type = AUDIO_MIXER_CLASS;
890 dip->mixer_class = HARMONY_PORT_RECORD_CLASS;
891 dip->prev = dip->next = AUDIO_MIXER_LAST;
892 strlcpy(dip->label.name, AudioCrecord, sizeof dip->label.name);