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
3c8c02a3
Commit
3c8c02a3
authored
Jul 19, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Jul 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa: Minor fixes to ds output.
parent
0c3cd2a0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
dsoutput.c
dlls/winealsa.drv/dsoutput.c
+6
-3
No files found.
dlls/winealsa.drv/dsoutput.c
View file @
3c8c02a3
...
...
@@ -157,7 +157,7 @@ static void CheckXRUN(IDsDriverBufferImpl* This)
ERR
(
"recovery from suspend failed, prepare failed: %s
\n
"
,
snd_strerror
(
err
));
}
}
else
if
(
state
!=
SND_PCM_STATE_RUNNING
)
{
WARN
(
"Unhandled state: %d
\n
"
,
state
);
FIXME
(
"Unhandled state: %d
\n
"
,
state
);
}
}
...
...
@@ -490,9 +490,12 @@ static HRESULT WINAPI IDsDriverBufferImpl_GetPosition(PIDSDRIVERBUFFER iface,
state
=
snd_pcm_state
(
This
->
pcm
);
if
(
state
!=
SND_PCM_STATE_RUNNING
)
if
(
state
!=
SND_PCM_STATE_PREPARED
&&
state
!=
SND_PCM_STATE_RUNNING
)
{
CheckXRUN
(
This
);
else
state
=
snd_pcm_state
(
This
->
pcm
);
}
if
(
state
==
SND_PCM_STATE_RUNNING
)
{
snd_pcm_uframes_t
used
=
CommitAll
(
This
);
...
...
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