Lines Matching refs:mix

341 					struct snd_emu10k1_pcm_mixer *mix)  in snd_emu10k1_pcm_init_voices()  argument
346 &mix->send_routing[stereo][0], in snd_emu10k1_pcm_init_voices()
347 &mix->send_volume[stereo][0]); in snd_emu10k1_pcm_init_voices()
351 &mix->send_routing[2][0], in snd_emu10k1_pcm_init_voices()
352 &mix->send_volume[2][0]); in snd_emu10k1_pcm_init_voices()
663 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voice() argument
669 vattn = mix->attn[tmp] << 16; in snd_emu10k1_playback_unmute_voice()
676 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voices() argument
678 snd_emu10k1_playback_unmute_voice(emu, evoice, stereo, true, mix); in snd_emu10k1_playback_unmute_voices()
680 snd_emu10k1_playback_unmute_voice(emu, evoice + 1, true, false, mix); in snd_emu10k1_playback_unmute_voices()
747 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_playback_trigger() local
764 mix = &emu->pcm_mixer[substream->number]; in snd_emu10k1_playback_trigger()
765 snd_emu10k1_playback_unmute_voices(emu, epcm->voices[0], stereo, mix); in snd_emu10k1_playback_trigger()
1130 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_efx_playback_close() local
1134 mix = &emu->efx_pcm_mixer[i]; in snd_emu10k1_efx_playback_close()
1135 mix->epcm = NULL; in snd_emu10k1_efx_playback_close()
1161 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_efx_playback_open() local
1184 mix = &emu->efx_pcm_mixer[i]; in snd_emu10k1_efx_playback_open()
1186 mix->send_routing[0][j] = i + j; in snd_emu10k1_efx_playback_open()
1187 memset(&mix->send_volume, 0, sizeof(mix->send_volume)); in snd_emu10k1_efx_playback_open()
1188 mix->send_volume[0][0] = 255; in snd_emu10k1_efx_playback_open()
1189 mix->attn[0] = 0x8000; in snd_emu10k1_efx_playback_open()
1190 mix->epcm = epcm; in snd_emu10k1_efx_playback_open()
1200 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_playback_open() local
1227 mix = &emu->pcm_mixer[substream->number]; in snd_emu10k1_playback_open()
1229 mix->send_routing[0][i] = mix->send_routing[1][i] = mix->send_routing[2][i] = i; in snd_emu10k1_playback_open()
1230 memset(&mix->send_volume, 0, sizeof(mix->send_volume)); in snd_emu10k1_playback_open()
1231 mix->send_volume[0][0] = mix->send_volume[0][1] = in snd_emu10k1_playback_open()
1232 mix->send_volume[1][0] = mix->send_volume[2][1] = 255; in snd_emu10k1_playback_open()
1233 mix->attn[0] = mix->attn[1] = mix->attn[2] = 0x8000; in snd_emu10k1_playback_open()
1234 mix->epcm = epcm; in snd_emu10k1_playback_open()
1242 struct snd_emu10k1_pcm_mixer *mix = &emu->pcm_mixer[substream->number]; in snd_emu10k1_playback_close() local
1244 mix->epcm = NULL; in snd_emu10k1_playback_close()