From: Clemens Ladisch Date: Mon, 21 May 2007 07:13:19 +0000 (+0200) Subject: dmix/dshare/dsnoop plugin: enable slowptr by default X-Git-Tag: v1.0.14~2 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=a03ddea4152b211c47005d44ade798cebdc0f070;p=alsa-lib.git 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. --- diff --git a/src/pcm/pcm_direct.c b/src/pcm/pcm_direct.c index 755ae167..4dd3d9f6 100644 --- a/src/pcm/pcm_direct.c +++ b/src/pcm/pcm_direct.c @@ -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 */