Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
1bf5dea2
Commit
1bf5dea2
authored
25 years ago
by
Eric Pouech
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Removed extraneous ERR message.
parent
507950c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/winmm/wineoss/mixer.c
+8
-5
8 additions, 5 deletions
dlls/winmm/wineoss/mixer.c
with
8 additions
and
5 deletions
dlls/winmm/wineoss/mixer.c
+
8
−
5
View file @
1bf5dea2
...
...
@@ -119,7 +119,7 @@ static DWORD MIX_GetDevCaps(WORD wDevID, LPMIXERCAPSA lpCaps, DWORD dwSize)
/**************************************************************************
* MIX_GetLineInfoFromIndex [internal]
*/
static
void
MIX_GetLineInfoFromIndex
(
LPMIXERLINEA
lpMl
,
int
devmask
,
DWORD
idx
)
static
DWORD
MIX_GetLineInfoFromIndex
(
LPMIXERLINEA
lpMl
,
int
devmask
,
DWORD
idx
)
{
strcpy
(
lpMl
->
szShortName
,
MIX_Labels
[
idx
]);
strcpy
(
lpMl
->
szName
,
MIX_Names
[
idx
]);
...
...
@@ -149,9 +149,10 @@ static void MIX_GetLineInfoFromIndex(LPMIXERLINEA lpMl, int devmask, DWORD idx)
lpMl
->
fdwLine
|=
MIXERLINE_LINEF_SOURCE
;
break
;
default:
ERR
(
"Index %ld not handled.
\n
"
,
idx
);
b
re
ak
;
WARN
(
"Index %ld not handled.
\n
"
,
idx
);
re
turn
MIXERR_INVALLINE
;
}
return
MMSYSERR_NOERROR
;
}
/**************************************************************************
...
...
@@ -206,7 +207,8 @@ static DWORD MIX_GetLineInfo(WORD wDevID, LPMIXERLINEA lpMl, DWORD fdwInfo)
return
MIXERR_INVALLINE
;
if
(
WINE_CHN_SUPPORTS
(
MIX_StereoMask
,
j
))
lpMl
->
cChannels
++
;
MIX_GetLineInfoFromIndex
(
lpMl
,
MIX_DevMask
,
j
);
if
((
ret
=
MIX_GetLineInfoFromIndex
(
lpMl
,
MIX_DevMask
,
j
))
!=
MMSYSERR_NOERROR
)
return
ret
;
break
;
case
MIXER_GETLINEINFOF_LINEID
:
TRACE
(
"LINEID (%08lx)
\n
"
,
lpMl
->
dwLineID
);
...
...
@@ -214,7 +216,8 @@ static DWORD MIX_GetLineInfo(WORD wDevID, LPMIXERLINEA lpMl, DWORD fdwInfo)
return
MIXERR_INVALLINE
;
if
(
WINE_CHN_SUPPORTS
(
MIX_StereoMask
,
lpMl
->
dwLineID
))
lpMl
->
cChannels
++
;
MIX_GetLineInfoFromIndex
(
lpMl
,
MIX_DevMask
,
lpMl
->
dwLineID
);
if
((
ret
=
MIX_GetLineInfoFromIndex
(
lpMl
,
MIX_DevMask
,
lpMl
->
dwLineID
))
!=
MMSYSERR_NOERROR
)
return
ret
;
break
;
case
MIXER_GETLINEINFOF_COMPONENTTYPE
:
TRACE
(
"COMPONENT TYPE (%08lx)
\n
"
,
lpMl
->
dwComponentType
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment