summaryrefslogtreecommitdiffstats
path: root/polyp/daemon.conf.in
blob: d5373018dfb4d2e54ba30f24748dcde57d5137cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# $Id$
#
# This file is part of polypaudio.
#
# polypaudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# polypaudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with polypaudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

## Configuration file for the polypaudio daemon. Default values are
## commented out.  Use either ; or # for commenting

# Extra verbositiy
; verbose = 0

## Daemonize after startup
; daemonize = 0

## Quit if startup fails
; fail = 1

## Renice the daemon to level -15 and try to get SCHED_FIFO
## scheduling. This a good idea if you hear annyoing noise in the
## playback. However, this is a certain security issue, since it works 
## when called SUID root only. root is dropped immediately after gaining
## the nice level and SCHED_FIFO scheduling on startup.
; high-priority = 0

## Disallow module loading after startup
; disallow-module-loading = 0

## Terminate the daemon after the last client quit and this time
## passed. Use a negative value to disable this feature.
; exit-idle-time = -1

## Unload autoloaded modules after being idle for this time 
; module-idle-time = 20

## The path were to look for dynamic shared objects (DSOs aka
## plugins).  You may specify more than one path seperated by
## colons. 
; dl-search-path = @DLSEARCHPATH@

## The default script file to load. Specify an empty string for not
## loading a default script file. The 
; default-script-file = @DEFAULT_CONFIG_FILE@

## The default log target. Use either "stderr", "syslog" or
## "auto". The latter is equivalent to "sylog" in case daemonize is
## true, otherwise to "stderr".
; log-target = auto

## The resampling algorithm to use. Use one of src-sinc-best-quality,
## src-sinc-medium-quality, src-sinc-fastest, src-zero-order-hold,
## src-linear, trivial. See the documentation of libsamplerate for an
## explanation for the different methods. The method 'trivial' is the
## only algorithm implemented without usage of floating point
## numbers. If you're tight on CPU consider using this. On the other
## hand it has the worst quality of all.
; resample-method = sinc-fastest

## Create a PID file in /tmp/polypaudio-$USER/pid. Of this is enabled
## you may use commands like "polypaudio --kill" or "polypaudio
## --check". If you are planning to start more than one polypaudio
## process per user, you better disable this option since it
## effectively disables multiple instances.
; use-pid-file = 1