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
Lorenzo Ferrillo
wine
Commits
67617c78
Commit
67617c78
authored
13 years ago
by
Andrew Eikum
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
wineoss.drv: Downgrade most ERRs to WARNs.
parent
a91464b0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/wineoss.drv/mmdevdrv.c
+4
-4
4 additions, 4 deletions
dlls/wineoss.drv/mmdevdrv.c
with
4 additions
and
4 deletions
dlls/wineoss.drv/mmdevdrv.c
+
4
−
4
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
;
}
...
...
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