Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1bf5dea2
Commit
1bf5dea2
authored
Jan 04, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed extraneous ERR message.
parent
507950c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
mixer.c
dlls/winmm/wineoss/mixer.c
+8
-5
No files found.
dlls/winmm/wineoss/mixer.c
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
);
break
;
WARN
(
"Index %ld not handled.
\n
"
,
idx
);
return
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
);
...
...
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