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
30392be1
Commit
30392be1
authored
Sep 24, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Sep 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss: Silence some harmless warnings.
parent
be5105e8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
audio.c
dlls/wineoss.drv/audio.c
+1
-3
dsrender.c
dlls/wineoss.drv/dsrender.c
+1
-3
No files found.
dlls/wineoss.drv/audio.c
View file @
30392be1
...
@@ -2083,9 +2083,7 @@ DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
...
@@ -2083,9 +2083,7 @@ DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
/* Check that fragsize is correct per our settings above */
/* Check that fragsize is correct per our settings above */
if
((
info
.
fragsize
>
1024
)
&&
(
LOWORD
(
audio_fragment
)
<=
10
))
{
if
((
info
.
fragsize
>
1024
)
&&
(
LOWORD
(
audio_fragment
)
<=
10
))
{
/* we've tried to set 1K fragments or less, but it didn't work */
/* we've tried to set 1K fragments or less, but it didn't work */
ERR
(
"fragment size set failed, size is now %d
\n
"
,
info
.
fragsize
);
WARN
(
"fragment size set failed, size is now %d
\n
"
,
info
.
fragsize
);
MESSAGE
(
"Your Open Sound System driver did not let us configure small enough sound fragments.
\n
"
);
MESSAGE
(
"This may cause delays and other problems in audio playback with certain applications.
\n
"
);
}
}
/* Remember fragsize and total buffer size for future use */
/* Remember fragsize and total buffer size for future use */
...
...
dlls/wineoss.drv/dsrender.c
View file @
30392be1
...
@@ -940,9 +940,7 @@ DWORD wodDsCreate(UINT wDevID, PIDSDRIVER* drv)
...
@@ -940,9 +940,7 @@ DWORD wodDsCreate(UINT wDevID, PIDSDRIVER* drv)
/* the HAL isn't much better than the HEL if we can't do mmap() */
/* the HAL isn't much better than the HEL if we can't do mmap() */
if
(
!
(
WOutDev
[
wDevID
].
ossdev
->
duplex_out_caps
.
dwSupport
&
WAVECAPS_DIRECTSOUND
))
{
if
(
!
(
WOutDev
[
wDevID
].
ossdev
->
duplex_out_caps
.
dwSupport
&
WAVECAPS_DIRECTSOUND
))
{
ERR
(
"DirectSound flag not set
\n
"
);
WARN
(
"Warn DirectSound flag not set, falling back to HEL layer
\n
"
);
MESSAGE
(
"This sound card's driver does not support direct access
\n
"
);
MESSAGE
(
"The (slower) DirectSound HEL mode will be used instead.
\n
"
);
return
MMSYSERR_NOTSUPPORTED
;
return
MMSYSERR_NOTSUPPORTED
;
}
}
...
...
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