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
4d4cd39d
Commit
4d4cd39d
authored
Aug 12, 2005
by
Alex Villacís Lasso
Committed by
Alexandre Julliard
Aug 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove crackling in DirectSound/ALSA playback with full hardware
acceleration.
parent
251502b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
audio.c
dlls/winmm/winealsa/audio.c
+1
-0
No files found.
dlls/winmm/winealsa/audio.c
View file @
4d4cd39d
...
...
@@ -3302,6 +3302,7 @@ static HRESULT WINAPI IDsDriverBufferImpl_GetPosition(PIDSDRIVERBUFFER iface,
/* FIXME: snd_pcm_mmap_hw_ptr() should not be accessed by a user app. */
/* It will NOT return what why want anyway. */
hw_ptr
=
_snd_pcm_mmap_hw_ptr
(
wwo
->
pcm
);
if
(
hw_ptr
>=
period_size
)
hw_ptr
-=
period_size
;
else
hw_ptr
=
0
;
if
(
lpdwPlay
)
*
lpdwPlay
=
snd_pcm_frames_to_bytes
(
wwo
->
pcm
,
hw_ptr
/
period_size
*
period_size
)
%
This
->
mmap_buflen_bytes
;
if
(
lpdwWrite
)
...
...
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