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
e71cfdc1
Commit
e71cfdc1
authored
Mar 28, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa.drv: Remove a few unneeded initialisations and unused variables.
parent
a513d401
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
waveout.c
dlls/winealsa.drv/waveout.c
+3
-4
No files found.
dlls/winealsa.drv/waveout.c
View file @
e71cfdc1
...
...
@@ -97,15 +97,14 @@ static DWORD wodNotifyClient(WINE_WAVEDEV* wwo, WORD wMsg, DWORD_PTR dwParam1, D
*/
static
BOOL
wodUpdatePlayedTotal
(
WINE_WAVEDEV
*
wwo
,
snd_pcm_status_t
*
ps
)
{
snd_pcm_sframes_t
delay
=
0
;
snd_pcm_sframes_t
avail
=
0
;
snd_pcm_sframes_t
delay
;
snd_pcm_sframes_t
avail
;
snd_pcm_uframes_t
buf_size
=
0
;
snd_pcm_state_t
state
;
int
err
;
state
=
snd_pcm_state
(
wwo
->
pcm
);
avail
=
snd_pcm_avail_update
(
wwo
->
pcm
);
err
=
snd_pcm_hw_params_get_buffer_size
(
wwo
->
hw_params
,
&
buf_size
);
snd_pcm_hw_params_get_buffer_size
(
wwo
->
hw_params
,
&
buf_size
);
delay
=
buf_size
-
avail
;
if
(
state
!=
SND_PCM_STATE_RUNNING
&&
state
!=
SND_PCM_STATE_PREPARED
)
...
...
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