~diwic/ubuntu/lucid/pulseaudio/bugfixes

« back to all changes in this revision

Viewing changes to src/daemon/daemon-conf.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-05-05 14:18:20 UTC
  • mfrom: (1.2.4 upstream) (1.1.8 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090505141820-rrr2mtdd1jkllvr8
Tags: 1:0.9.15-1ubuntu1
* Merge from unreleased Debian pulseaudio git, remaining changes:
  - epoch (my stupid fault :S)
  - Don't build against, and create jack package. Jack is not in main
  - use linear resampler to work better with lack of PREEMPT in jaunty's
    -generic kernel config, also change buffer size
  - Add alsa configuration files to route alsa applications via pulseaudio
  - Move libasound2-plugins from Recommends to Depends
  - Add pm-utils sleep hook to suspend (and resume) users' pulseaudio
    daemons
  - patch to fix source/sink and suspend-on-idle race
  - Make initscript more informative in the default case of per-user
    sessions
  - create /var/run/pulse, and make restart more robust
  - add status check for system wide pulseaudio instance
  - LSB {Required-*,Should-*} should specify hal instead of dbus,
    since hal is required (and already requires dbus)
  - indicate that the system pulseaudio instance is being started from the init
    script
  - Install more upstream man pages
  - Link to pacat for parec man page
  - check whether pulseaudio is running before preloading the padsp library
  - Add DEB_OPT_FLAG = -O3 as per recommendation from
    pulseaudio-discuss/2007-December/001017.html
  - cache /usr/share/sounds/ubuntu/stereo/ wav files on pulseaudio load
  - disable glitch free (use tsched=0)
  - Generate a PO template on build
  - add special case to disable pulseaudio loading if accessibility/speech
    is being used
  - the sd wrapper script should not load pulseaudio if pulseaudio is being
    used as a system service
  - add a pulseaudio apport hook
  - fix some typos in README.Debian
  - demote paprefs to suggests
  - drop padevchooser(Recommends) and pavucontrol (Suggests)
  - drop libasyncns-dev build dependency, its in universe
* add libudev-dev as a build-dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
  PulseAudio is free software; you can redistribute it and/or modify
11
11
  it under the terms of the GNU Lesser General Public License as published
12
 
  by the Free Software Foundation; either version 2 of the License,
 
12
  by the Free Software Foundation; either version 2.1 of the License,
13
13
  or (at your option) any later version.
14
14
 
15
15
  PulseAudio is distributed in the hope that it will be useful, but
23
23
  USA.
24
24
***/
25
25
 
 
26
#include <pulse/sample.h>
 
27
#include <pulse/channelmap.h>
 
28
 
26
29
#include <pulsecore/log.h>
27
30
#include <pulsecore/macro.h>
28
31
#include <pulsecore/core-util.h>
29
 
#include <pulse/sample.h>
30
32
 
31
33
#ifdef HAVE_SYS_RESOURCE_H
32
34
#include <sys/resource.h>
68
70
        disable_remixing,
69
71
        disable_lfe_remixing,
70
72
        load_default_script_file,
71
 
        disallow_exit;
 
73
        disallow_exit,
 
74
        log_meta,
 
75
        log_time,
 
76
        flat_volumes;
72
77
    int exit_idle_time,
73
 
        module_idle_time,
74
78
        scache_idle_time,
75
79
        auto_log_target,
76
80
        realtime_priority,
79
83
    char *script_commands, *dl_search_path, *default_script_file;
80
84
    pa_log_target_t log_target;
81
85
    pa_log_level_t log_level;
 
86
    unsigned log_backtrace;
82
87
    char *config_file;
83
88
 
84
89
#ifdef HAVE_SYS_RESOURCE_H
85
 
    pa_rlimit rlimit_fsize, rlimit_data, rlimit_stack, rlimit_core, rlimit_rss, rlimit_nofile, rlimit_as;
 
90
    pa_rlimit rlimit_fsize, rlimit_data, rlimit_stack, rlimit_core;
 
91
#ifdef RLIMIT_RSS
 
92
    pa_rlimit rlimit_rss;
 
93
#endif
 
94
#ifdef RLIMIT_NOFILE
 
95
    pa_rlimit rlimit_nofile;
 
96
#endif
 
97
#ifdef RLIMIT_AS
 
98
    pa_rlimit rlimit_as;
 
99
#endif
86
100
#ifdef RLIMIT_NPROC
87
101
    pa_rlimit rlimit_nproc;
88
102
#endif
111
125
 
112
126
    unsigned default_n_fragments, default_fragment_size_msec;
113
127
    pa_sample_spec default_sample_spec;
 
128
    pa_channel_map default_channel_map;
114
129
    size_t shm_size;
115
130
} pa_daemon_conf;
116
131