Changeset 135 for GPL/trunk/alsa-kernel/pci/cs4281.c
- Timestamp:
- Jun 13, 2007, 9:06:25 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/cs4281.c
r77 r135 1102 1102 static snd_kcontrol_new_t snd_cs4281_fm_vol = 1103 1103 { 1104 /* .iface = */SNDRV_CTL_ELEM_IFACE_MIXER,0,0,1105 /* .name = */"Synth Playback Volume",0,0,0,1106 /* .info = */snd_cs4281_info_volume,1107 /* .get = */snd_cs4281_get_volume,1108 /* .put = */snd_cs4281_put_volume,1109 /* .private_value = */((BA0_FMLVC << 16) | BA0_FMRVC),1104 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1105 .name = "Synth Playback Volume", 1106 .info = snd_cs4281_info_volume, 1107 .get = snd_cs4281_get_volume, 1108 .put = snd_cs4281_put_volume, 1109 .private_value = ((BA0_FMLVC << 16) | BA0_FMRVC) 1110 1110 }; 1111 1111 1112 1112 static snd_kcontrol_new_t snd_cs4281_pcm_vol = 1113 1113 { 1114 /* .iface = */SNDRV_CTL_ELEM_IFACE_MIXER,0,0,1115 /* .name = */"PCM Stream Playback Volume",0,0,0,1116 /* .info = */snd_cs4281_info_volume,1117 /* .get = */snd_cs4281_get_volume,1118 /* .put = */snd_cs4281_put_volume,1119 /* .private_value = */ ((BA0_PPLVC << 16) | BA0_PPRVC),1114 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1115 .name = "PCM Stream Playback Volume", 1116 .info = snd_cs4281_info_volume, 1117 .get = snd_cs4281_get_volume, 1118 .put = snd_cs4281_put_volume, 1119 .private_value = ((BA0_PPLVC << 16) | BA0_PPRVC) 1120 1120 }; 1121 1121 … … 1142 1142 int err; 1143 1143 static ac97_bus_ops_t ops = { 1144 0, 1144 0,0, 1145 1145 snd_cs4281_ac97_write, 1146 1146 snd_cs4281_ac97_read, … … 1935 1935 1936 1936 if (cmd & OPL3_RIGHT) 1937 port = ( unsigned long)chip->ba0 + BA0_B1AP; /* right port */1937 port = (void *)chip->ba0 + BA0_B1AP; /* right port */ 1938 1938 else 1939 port = ( unsigned long)chip->ba0 + BA0_B0AP; /* left port */1939 port = (void *)chip->ba0 + BA0_B0AP; /* left port */ 1940 1940 1941 1941 spin_lock_irqsave(&opl3->reg_lock, flags);
Note:
See TracChangeset
for help on using the changeset viewer.