Lines Matching full:mix
320 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_pcm_init_voices() argument
325 &mix->send_routing[stereo][0], in snd_emu10k1_pcm_init_voices()
326 &mix->send_volume[stereo][0]); in snd_emu10k1_pcm_init_voices()
330 &mix->send_routing[2][0], in snd_emu10k1_pcm_init_voices()
331 &mix->send_volume[2][0]); in snd_emu10k1_pcm_init_voices()
642 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voice() argument
648 vattn = mix->attn[tmp] << 16; in snd_emu10k1_playback_unmute_voice()
655 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voices() argument
657 snd_emu10k1_playback_unmute_voice(emu, evoice, stereo, true, mix); in snd_emu10k1_playback_unmute_voices()
659 snd_emu10k1_playback_unmute_voice(emu, evoice + 1, true, false, mix); in snd_emu10k1_playback_unmute_voices()
726 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_playback_trigger() local
743 mix = &emu->pcm_mixer[substream->number]; in snd_emu10k1_playback_trigger()
744 snd_emu10k1_playback_unmute_voices(emu, epcm->voices[0], stereo, mix); in snd_emu10k1_playback_trigger()
1109 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_efx_playback_close() local
1113 mix = &emu->efx_pcm_mixer[i]; in snd_emu10k1_efx_playback_close()
1114 mix->epcm = NULL; in snd_emu10k1_efx_playback_close()
1140 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_efx_playback_open() local
1163 mix = &emu->efx_pcm_mixer[i]; in snd_emu10k1_efx_playback_open()
1165 mix->send_routing[0][j] = i + j; in snd_emu10k1_efx_playback_open()
1166 memset(&mix->send_volume, 0, sizeof(mix->send_volume)); in snd_emu10k1_efx_playback_open()
1167 mix->send_volume[0][0] = 255; in snd_emu10k1_efx_playback_open()
1168 mix->attn[0] = 0x8000; in snd_emu10k1_efx_playback_open()
1169 mix->epcm = epcm; in snd_emu10k1_efx_playback_open()
1179 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_playback_open() local
1206 mix = &emu->pcm_mixer[substream->number]; in snd_emu10k1_playback_open()
1208 mix->send_routing[0][i] = mix->send_routing[1][i] = mix->send_routing[2][i] = i; in snd_emu10k1_playback_open()
1209 memset(&mix->send_volume, 0, sizeof(mix->send_volume)); in snd_emu10k1_playback_open()
1210 mix->send_volume[0][0] = mix->send_volume[0][1] = in snd_emu10k1_playback_open()
1211 mix->send_volume[1][0] = mix->send_volume[2][1] = 255; in snd_emu10k1_playback_open()
1212 mix->attn[0] = mix->attn[1] = mix->attn[2] = 0x8000; in snd_emu10k1_playback_open()
1213 mix->epcm = epcm; in snd_emu10k1_playback_open()
1221 struct snd_emu10k1_pcm_mixer *mix = &emu->pcm_mixer[substream->number]; in snd_emu10k1_playback_close() local
1223 mix->epcm = NULL; in snd_emu10k1_playback_close()