Commit 452f728f authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

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
......@@ -463,10 +463,6 @@ static DWORD widOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
wwi->pcm = 0;
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 )
{
......
......@@ -647,12 +647,6 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
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)
{
ERR("Error open: %s\n", snd_strerror(err));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment