Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cb1f2c43
Commit
cb1f2c43
authored
Jan 30, 1999
by
Andreas Mohr
Committed by
Alexandre Julliard
Jan 30, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed error messages.
parent
3747221d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
audio.c
multimedia/audio.c
+1
-1
dsound.c
multimedia/dsound.c
+3
-3
No files found.
multimedia/audio.c
View file @
cb1f2c43
...
...
@@ -341,7 +341,7 @@ static DWORD wodWrite(WORD wDevID, LPWAVEHDR lpWaveHdr, DWORD dwSize)
count
=
write
(
WOutDev
[
wDevID
].
unixdev
,
lpData
,
lpWaveHdr
->
dwBufferLength
);
TRACE
(
wave
,
"write returned count %u !
\n
"
,
count
);
if
(
count
!=
lpWaveHdr
->
dwBufferLength
)
{
WARN
(
wave
,
" error writ
t
ing !
\n
"
);
WARN
(
wave
,
" error writing !
\n
"
);
return
MMSYSERR_NOTENABLED
;
}
WOutDev
[
wDevID
].
dwTotalPlayed
+=
count
;
...
...
multimedia/dsound.c
View file @
cb1f2c43
...
...
@@ -2099,12 +2099,12 @@ HRESULT WINAPI DirectSoundCreate(LPGUID lpGUID,LPDIRECTSOUND *ppDS,IUnknown *pUn
audiofd
=
open
(
"/dev/audio"
,
O_WRONLY
);
if
(
audiofd
==
-
1
)
{
if
(
errno
==
ENODEV
)
{
TRACE
(
dsound
,
"No sound hardware
\n
"
);
MSG
(
"No sound hardware found.
\n
"
);
return
DSERR_NODRIVER
;
}
else
if
(
errno
==
EBUSY
)
{
TRACE
(
dsound
,
"Sound device busy, will keep trying
\n
"
);
MSG
(
"Sound device busy, will keep trying.
\n
"
);
}
else
{
TRACE
(
dsound
,
"Unexpected error while checking for sound support
\n
"
);
MSG
(
"Unexpected error while checking for sound support.
\n
"
);
return
DSERR_GENERIC
;
}
}
else
{
...
...
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