Lines Matching refs:emux
22 struct snd_emux *emux; in snd_emu10k1_synth_probe() local
37 if (snd_emux_new(&emux) < 0) in snd_emu10k1_synth_probe()
40 snd_emu10k1_ops_setup(emux); in snd_emu10k1_synth_probe()
42 emux->hw = hw; in snd_emu10k1_synth_probe()
43 emux->max_voices = arg->max_voices; in snd_emu10k1_synth_probe()
44 emux->num_ports = arg->seq_ports; in snd_emu10k1_synth_probe()
45 emux->memhdr = hw->memhdr; in snd_emu10k1_synth_probe()
47 emux->midi_ports = arg->seq_ports < 2 ? arg->seq_ports : 2; in snd_emu10k1_synth_probe()
49 emux->midi_devidx = hw->audigy ? 2 : 1; in snd_emu10k1_synth_probe()
50 emux->linear_panning = 0; in snd_emu10k1_synth_probe()
51 emux->hwdep_idx = 2; /* FIXED */ in snd_emu10k1_synth_probe()
53 if (snd_emux_register(emux, dev->card, arg->index, "Emu10k1") < 0) { in snd_emu10k1_synth_probe()
54 snd_emux_free(emux); in snd_emu10k1_synth_probe()
59 hw->synth = emux; in snd_emu10k1_synth_probe()
63 dev->driver_data = emux; in snd_emu10k1_synth_probe()
71 struct snd_emux *emux; in snd_emu10k1_synth_remove() local
77 emux = dev->driver_data; in snd_emu10k1_synth_remove()
79 hw = emux->hw; in snd_emu10k1_synth_remove()
85 snd_emux_free(emux); in snd_emu10k1_synth_remove()