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
67617c78
Commit
67617c78
authored
Feb 07, 2012
by
Andrew Eikum
Committed by
Alexandre Julliard
Feb 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss.drv: Downgrade most ERRs to WARNs.
parent
a91464b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mmdevdrv.c
dlls/wineoss.drv/mmdevdrv.c
+4
-4
No files found.
dlls/wineoss.drv/mmdevdrv.c
View file @
67617c78
...
...
@@ -491,7 +491,7 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(char *devnode, IMMDevice *dev,
return
E_INVALIDARG
;
}
if
(
This
->
fd
<
0
){
ERR
(
"Unable to open device %s: %d (%s)
\n
"
,
devnode
,
errno
,
WARN
(
"Unable to open device %s: %d (%s)
\n
"
,
devnode
,
errno
,
strerror
(
errno
));
HeapFree
(
GetProcessHeap
(),
0
,
This
);
return
AUDCLNT_E_DEVICE_INVALIDATED
;
...
...
@@ -501,7 +501,7 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(char *devnode, IMMDevice *dev,
This
->
ai
.
dev
=
-
1
;
if
(
ioctl
(
This
->
fd
,
SNDCTL_ENGINEINFO
,
&
This
->
ai
)
<
0
){
ERR
(
"Unable to get audio info for device %s: %d (%s)
\n
"
,
devnode
,
WARN
(
"Unable to get audio info for device %s: %d (%s)
\n
"
,
devnode
,
errno
,
strerror
(
errno
));
close
(
This
->
fd
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -1106,7 +1106,7 @@ static HRESULT WINAPI AudioClient_IsFormatSupported(IAudioClient *iface,
fd
=
open
(
This
->
devnode
,
O_RDONLY
|
O_NONBLOCK
,
0
);
if
(
fd
<
0
){
ERR
(
"Unable to open device %s: %d (%s)
\n
"
,
This
->
devnode
,
errno
,
WARN
(
"Unable to open device %s: %d (%s)
\n
"
,
This
->
devnode
,
errno
,
strerror
(
errno
));
return
AUDCLNT_E_DEVICE_INVALIDATED
;
}
...
...
@@ -1161,7 +1161,7 @@ static HRESULT WINAPI AudioClient_GetMixFormat(IAudioClient *iface,
fmt
->
Format
.
wBitsPerSample
=
24
;
fmt
->
SubFormat
=
KSDATAFORMAT_SUBTYPE_PCM
;
}
else
{
ERR
(
"Didn't recognize any available OSS formats: %x
\n
"
,
formats
);
WARN
(
"Didn't recognize any available OSS formats: %x
\n
"
,
formats
);
CoTaskMemFree
(
fmt
);
return
E_FAIL
;
}
...
...
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