Home
last modified time | relevance | path

Searched refs:whichDev (Results 1 – 2 of 2) sorted by relevance

/sound/oss/
Dpas2_mixer.c115 pas_mixer_set(int whichDev, unsigned int level) in pas_mixer_set() argument
122 if (whichDev < SOUND_MIXER_NRDEVICES) { in pas_mixer_set()
123 if ((1 << whichDev) & rec_devices) in pas_mixer_set()
129 switch (whichDev) in pas_mixer_set()
132 levels[whichDev] = mixer_output(right, left, 63, 0x01, 0); in pas_mixer_set()
140 levels[whichDev] = mixer_output(right, left, 12, 0x03, 0); in pas_mixer_set()
143 levels[whichDev] = mixer_output(right, left, 12, 0x04, 0); in pas_mixer_set()
147 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x00, mixer); in pas_mixer_set()
150 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x05, mixer); in pas_mixer_set()
153 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x07, mixer); in pas_mixer_set()
[all …]
Dwaveartist.c934 waveartist_mixer_update(struct wavnc_info *devc, int whichDev) in waveartist_mixer_update() argument
938 lev_left = devc->levels[whichDev] & 0xff; in waveartist_mixer_update()
939 lev_right = devc->levels[whichDev] >> 8; in waveartist_mixer_update()
948 if (machine_is_netwinder() && whichDev == SOUND_MIXER_PHONEOUT) in waveartist_mixer_update()
949 whichDev = SOUND_MIXER_VOLUME; in waveartist_mixer_update()
951 if (mix_devs[whichDev].reg_l || mix_devs[whichDev].reg_r) { in waveartist_mixer_update()
952 const struct mix_ent *mix = mix_devs + whichDev; in waveartist_mixer_update()
973 switch(whichDev) { in waveartist_mixer_update()