winealsa.drv: Tune some parameters to make pulseaudio work.

Kudos to pulseaudio for actually respecting buffer_time and period_time.
This commit is contained in:
Maarten Lankhorst 2008-08-20 21:42:46 +02:00 committed by Alexandre Julliard
parent a8a359ac68
commit 944cb7ea15
1 changed files with 2 additions and 2 deletions

View File

@ -571,8 +571,8 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
snd_pcm_access_t access;
snd_pcm_format_t format = -1;
unsigned int rate;
unsigned int buffer_time = 500000;
unsigned int period_time = 10000;
unsigned int buffer_time = 120000;
unsigned int period_time = 20000;
snd_pcm_uframes_t buffer_size;
snd_pcm_uframes_t period_size;
snd_pcm_uframes_t boundary;