From a03ddea4152b211c47005d44ade798cebdc0f070 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 21 May 2007 09:13:19 +0200 Subject: [PATCH] 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. --- src/pcm/pcm_direct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.47.1