winealsa: Remove disabled code.

SND_PCM_ASYNC was needed to get asynchronous callbacks, but they are
not used any more, so remove the code.
oldstable
Maarten Lankhorst 2007-04-21 20:40:20 +02:00 committed by Alexandre Julliard
parent 761ea7895b
commit 452f728f00
2 changed files with 0 additions and 10 deletions

View File

@ -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 )
{

View File

@ -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));