mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
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:
parent
63e4c591f9
commit
a03ddea415
1 changed files with 1 additions and 1 deletions
|
|
@ -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_key = 0;
|
||||||
rec->ipc_perm = 0600;
|
rec->ipc_perm = 0600;
|
||||||
rec->ipc_gid = -1;
|
rec->ipc_gid = -1;
|
||||||
rec->slowptr = 0;
|
rec->slowptr = 1;
|
||||||
rec->max_periods = 0;
|
rec->max_periods = 0;
|
||||||
|
|
||||||
/* read defaults */
|
/* read defaults */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue