summaryrefslogtreecommitdiff
path: root/src/conf
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-08-11 20:20:40 +0200
committerJaroslav Kysela <perex@perex.cz>2010-08-11 20:20:40 +0200
commitde606e9c256f5a776c1625b174600a539007f38d (patch)
tree873c275da870efc3f0e1ba8bb1389d4fe89ed21c /src/conf
parent09879a4bb58199f64abcb8df506f917c8efc2383 (diff)
pcm: introduce defaults.pcm.compat to change the params choose behaviour
Having getenv directly in the function is not a good idea. Allow configuration of the behaviour change in snd_pcm_param_choose() function using alsa.conf. Use the environment variable LIBASOUND_COMPAT only as fallback. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'src/conf')
-rw-r--r--src/conf/alsa.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf/alsa.conf b/src/conf/alsa.conf
index 51605290..1889f01e 100644
--- a/src/conf/alsa.conf
+++ b/src/conf/alsa.conf
@@ -63,6 +63,7 @@ defaults.pcm.card 0
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
+defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000 # in us
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio