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:
parent
a8a359ac68
commit
944cb7ea15
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue