Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
345f0627
Commit
345f0627
authored
Dec 01, 2003
by
Jaroslav Kysela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
EMU10K1/EMU10K2 driver - fixed double entries of the same controls.
parent
7a2b1d6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sound/pci/emu10k1/emufx.c
sound/pci/emu10k1/emufx.c
+3
-3
No files found.
sound/pci/emu10k1/emufx.c
View file @
345f0627
...
...
@@ -1945,7 +1945,7 @@ static int __devinit _snd_emu10k1_init_efx(emu10k1_t *emu)
/* Line LiveDrive Playback Volume */
for
(
z
=
0
;
z
<
2
;
z
++
)
VOLUME_ADDIN
(
icode
,
&
ptr
,
playback
+
z
,
EXTIN_LINE2_L
+
z
,
gpr
+
z
);
snd_emu10k1_init_stereo_control
(
controls
+
i
++
,
"Line LiveDrive Playback Volume"
,
gpr
,
0
);
snd_emu10k1_init_stereo_control
(
controls
+
i
++
,
"Line
2
LiveDrive Playback Volume"
,
gpr
,
0
);
controls
[
i
-
1
].
id
.
index
=
1
;
gpr
+=
2
;
...
...
@@ -1954,8 +1954,8 @@ static int __devinit _snd_emu10k1_init_efx(emu10k1_t *emu)
SWITCH_IN
(
icode
,
&
ptr
,
tmp
+
0
,
EXTIN_LINE2_L
+
z
,
gpr
+
2
+
z
);
VOLUME_ADD
(
icode
,
&
ptr
,
capture
+
z
,
tmp
+
0
,
gpr
+
z
);
}
snd_emu10k1_init_stereo_control
(
controls
+
i
++
,
"Line LiveDrive Capture Volume"
,
gpr
,
0
);
snd_emu10k1_init_stereo_onoff_control
(
controls
+
i
++
,
"Line LiveDrive Capture Switch"
,
gpr
+
2
,
0
);
snd_emu10k1_init_stereo_control
(
controls
+
i
++
,
"Line
2
LiveDrive Capture Volume"
,
gpr
,
0
);
snd_emu10k1_init_stereo_onoff_control
(
controls
+
i
++
,
"Line
2
LiveDrive Capture Switch"
,
gpr
+
2
,
0
);
controls
[
i
-
1
].
id
.
index
=
1
;
gpr
+=
4
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment