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
452f728f
Commit
452f728f
authored
Apr 21, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa: Remove disabled code.
SND_PCM_ASYNC was needed to get asynchronous callbacks, but they are not used any more, so remove the code.
parent
761ea789
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
wavein.c
dlls/winealsa.drv/wavein.c
+0
-4
waveout.c
dlls/winealsa.drv/waveout.c
+0
-6
No files found.
dlls/winealsa.drv/wavein.c
View file @
452f728f
...
@@ -463,10 +463,6 @@ static DWORD widOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
...
@@ -463,10 +463,6 @@ static DWORD widOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
wwi
->
pcm
=
0
;
wwi
->
pcm
=
0
;
flags
=
SND_PCM_NONBLOCK
;
flags
=
SND_PCM_NONBLOCK
;
#if 0
if ( dwFlags & WAVE_DIRECTSOUND )
flags |= SND_PCM_ASYNC;
#endif
if
(
(
err
=
snd_pcm_open
(
&
pcm
,
wwi
->
pcmname
,
SND_PCM_STREAM_CAPTURE
,
flags
))
<
0
)
if
(
(
err
=
snd_pcm_open
(
&
pcm
,
wwi
->
pcmname
,
SND_PCM_STREAM_CAPTURE
,
flags
))
<
0
)
{
{
...
...
dlls/winealsa.drv/waveout.c
View file @
452f728f
...
@@ -647,12 +647,6 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
...
@@ -647,12 +647,6 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
flags
=
SND_PCM_NONBLOCK
;
flags
=
SND_PCM_NONBLOCK
;
/* FIXME - why is this ifdefed? */
#if 0
if ( dwFlags & WAVE_DIRECTSOUND )
flags |= SND_PCM_ASYNC;
#endif
if
(
(
err
=
snd_pcm_open
(
&
pcm
,
wwo
->
pcmname
,
SND_PCM_STREAM_PLAYBACK
,
flags
))
<
0
)
if
(
(
err
=
snd_pcm_open
(
&
pcm
,
wwo
->
pcmname
,
SND_PCM_STREAM_PLAYBACK
,
flags
))
<
0
)
{
{
ERR
(
"Error open: %s
\n
"
,
snd_strerror
(
err
));
ERR
(
"Error open: %s
\n
"
,
snd_strerror
(
err
));
...
...
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