Lines Matching refs:emux
22 struct snd_emux *emux; in snd_emu10k1_synth_probe() local
38 if (snd_emux_new(&emux) < 0) in snd_emu10k1_synth_probe()
41 snd_emu10k1_ops_setup(emux); in snd_emu10k1_synth_probe()
43 emux->hw = hw; in snd_emu10k1_synth_probe()
44 emux->max_voices = arg->max_voices; in snd_emu10k1_synth_probe()
45 emux->num_ports = arg->seq_ports; in snd_emu10k1_synth_probe()
46 emux->pitch_shift = -501; in snd_emu10k1_synth_probe()
47 emux->memhdr = hw->memhdr; in snd_emu10k1_synth_probe()
49 emux->midi_ports = arg->seq_ports < 2 ? arg->seq_ports : 2; in snd_emu10k1_synth_probe()
51 emux->midi_devidx = hw->audigy ? 2 : 1; in snd_emu10k1_synth_probe()
52 emux->linear_panning = 0; in snd_emu10k1_synth_probe()
53 emux->hwdep_idx = 2; /* FIXED */ in snd_emu10k1_synth_probe()
55 if (snd_emux_register(emux, dev->card, arg->index, "Emu10k1") < 0) { in snd_emu10k1_synth_probe()
56 snd_emux_free(emux); in snd_emu10k1_synth_probe()
61 hw->synth = emux; in snd_emu10k1_synth_probe()
65 dev->driver_data = emux; in snd_emu10k1_synth_probe()
73 struct snd_emux *emux; in snd_emu10k1_synth_remove() local
80 emux = dev->driver_data; in snd_emu10k1_synth_remove()
82 hw = emux->hw; in snd_emu10k1_synth_remove()
88 snd_emux_free(emux); in snd_emu10k1_synth_remove()