dmix/dshare/dsnoop plugin: enable slowptr by default

Enabling the slowptr options does not make snd_pcm_delay() and related
functions much slower than they would have been with a hw device, while
disabling this option greatly reduces the accuracy of those functions,
thus creating more jitter in any media player application that
synchronizes its output to the sound device.

Therefore, it is preferrable to have this option enabled by default.
This commit is contained in:
Clemens Ladisch 2007-05-21 09:13:19 +02:00
parent 63e4c591f9
commit a03ddea415

View file

@ -1528,7 +1528,7 @@ int snd_pcm_direct_parse_open_conf(snd_config_t *root, snd_config_t *conf,
rec->ipc_key = 0;
rec->ipc_perm = 0600;
rec->ipc_gid = -1;
rec->slowptr = 0;
rec->slowptr = 1;
rec->max_periods = 0;
/* read defaults */