Tanu Kaskinen
d3bced8bee
conf-parser: Add support for parsing property lists.
2012-06-29 13:23:07 +03:00
Tanu Kaskinen
7449f6d9e5
conf-parser: Pass parser state in a struct also for parse callbacks.
...
As suggested by Maarten Bosmans:
http://article.gmane.org/gmane.comp.audio.pulseaudio.general/12079
2012-06-29 13:23:07 +03:00
Deng Zhengrong
9be176f403
daemon: use pa_streq instead of plain strcmp
...
Just noticed that in daemon-conf.c, it uses plain strcmp(),
while in PulseAudio, it should be better to use pa_streq().
2012-05-29 08:47:40 +05:30
Pierre-Louis Bossart
5bcfd2b630
core: infrastructure for alternate sampling rate
...
New parameter to avoid resampling. BIG power savings here...
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2011-10-17 19:23:26 +05:30
Colin Guthrie
aa3142ab20
volume: Rename 'sync volume' to 'deferred volume'.
...
This just covers Lennart's concern over the terminology used.
The majority of this change is simply the following command:
grep -rli sync[-_]volume . | xargs sed -i 's/sync_volume/deferred_volume/g;s/PA_SINK_SYNC_VOLUME/PA_SINK_DEFERRED_VOLUME/g;s/PA_SOURCE_SYNC_VOLUME/PA_SOURCE_DEFERRED_VOLUME/g;s/sync-volume/deferred-volume/g'
Some minor tweaks were added on top to tidy up formatting and
a couple of phrases were clarified too.
2011-09-13 21:15:49 +01:00
Tanu Kaskinen
dccbefa394
daemon-conf: Don't make log files executable.
2011-08-15 09:41:56 +01:00
Maarten Bosmans
b4e938e194
Move i18n.[ch] to src/pulsecore
...
The header is used in files troughout the tree and is not included in the public api,
so it belongs in pulsecore, not in pulse.
2011-08-11 13:23:42 +02:00
Maarten Bosmans
5818a2c63e
win32: Make some unused-variable warnings go away
2011-06-24 00:34:05 +01:00
Fritz Elfert
a13da4e93e
Disable check for pthreads on win32
...
And do not use sched_get_priority on mingw with win32 pthreads installed
2011-06-18 10:51:00 -07:00
Vincent Becker
a9c8f904b0
log: Correct bad function implementation
...
Replace wrong implementation of log to file in pa_daemon_conf_set_log_level to pa_daemon_conf_set_log_target
2011-03-24 16:34:07 +00:00
Maarten Bosmans
93348331bb
Move compile-time checks around pa_run_from_build_tree to core-util
...
To make the code cleaner and have the checks all in one place.
2011-03-24 09:12:27 +00:00
Maarten Bosmans
72323bc6bb
win32: Simplify dl_search_path code
...
And add #include <sys/stat.h>, needed by the code introduced in f7acd4bd .
2011-03-24 09:11:30 +00:00
Colin Guthrie
d7ce59de88
Merge remote-tracking branch 'mkbosmans/mingw32-build'
2011-03-20 11:18:19 +00:00
Maarten Bosmans
eb833da570
Find modules and config files relative to the installed libraries.
...
Do not use replace %PULSE_ROOT% from the environment.
2011-03-19 13:38:37 +01:00
Vincent Becker
f7acd4bdab
log: Add a new log target to a file descriptor
...
This patch enables logging of text debug messages (pa_log feature) into a file or a device driver.
Example : pulseaudio --log-target=file:./mylog.txt
(Minor tweaks by Colin + Arun)
2011-03-18 12:32:51 +00:00
Maarten Bosmans
53695b83dc
Get rid of some unused-function compiler warnings
2011-03-02 14:52:46 +00:00
Maarten Bosmans
bb12ff8356
Apply #ifdefs around functionality not available on win32
...
And also the reverse: around some win32 specific functionality
2011-02-17 11:58:22 +01:00
Jyri Sarha
3e53e3bba3
daemon-conf: Add sync volume parameters to daemon-conf
...
Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com>
Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com>
Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
2010-10-16 11:53:39 +01:00
Daniel Mack
937c587e77
fix a number of warnings
...
most of them were due to missing #ifdefs or wrong printf format type for
[s]size_t.
2010-01-05 22:46:13 +01:00
Lennart Poettering
168be3830a
use pa_fopen_cloexec() where applicable
2009-10-30 04:54:19 +01:00
Tanu Kaskinen
019331d25b
Merge branch 'master' into dbus-work
...
Conflicts:
src/daemon/daemon-conf.c
2009-10-02 17:24:44 +03:00
Lennart Poettering
812be32783
daemon: disable CPU load limiter by default
...
RLIMIT_RTTIME and rtki can do this job much better, so let's disable
this by default.
2009-09-04 02:48:37 +02:00
Tanu Kaskinen
2f3fc2f1d6
Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
...
Conflicts:
src/Makefile.am
2009-08-24 14:43:11 +03:00
Lennart Poettering
8a2a6b2004
adjust various data/library paths automatically if we are run from a build tree
2009-08-21 03:43:53 +02:00
Tanu Kaskinen
bcaba0b1b4
Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
...
Conflicts:
src/Makefile.am
src/daemon/daemon-conf.c
src/daemon/daemon.conf.in
src/modules/module-stream-restore.c
src/pulse/client-conf.c
src/pulsecore/namereg.c
2009-08-16 21:25:48 +03:00
Lennart Poettering
facae1f275
conf: invert all negative boolean configuration option
2009-08-12 20:15:28 +02:00
Tanu Kaskinen
0bc538b08c
Merge branch 'master' into dbus-work
...
Conflicts:
src/daemon/daemon-conf.c
src/daemon/daemon-conf.h
src/daemon/main.c
src/pulsecore/dbus-util.h
2009-06-29 18:35:06 +03:00
Lennart Poettering
a62db279b7
daemon: enable real-time by default
2009-06-19 18:21:35 +02:00
Tanu Kaskinen
5babbaafb2
daemon: Implement the DBus server lookup service.
2009-06-12 07:22:33 +03:00
Lennart Poettering
a9b38b3530
daemon: optionally call mlockall() on startup
2009-06-07 00:45:47 +02:00
Finn Thain
0329edd179
revive solaris module
...
Hi All,
This patch fixes the solaris audio device source and sink, and fixes some
portability issues that break the build on solaris. Questions and comments
welcomed.
I've tested this patch only with OpenSolaris Express snv 103. Eventually I
hope to be able to test a few older releases and older hardware (though it
is hard to say whether there is much interest in those).
This is my first brush with pulseaudio and so I read the wiki docs and
some of the source code but I'm still unsure of a few things. In
particular I'm wondering about rewind processing, corking and what (if
anything) the module needs for those. I'm also unclear on the implications
of thread_info.buffer_size, .fragment_size and .max_request, and whether
my code is correct or not.
This patch disables link map/library versioning unless ld is GNU ld.
Another approach for solaris would be to use that linker's -M option, but
I couldn't make that work (due to undefined mainloop, browse and simple
symbols when linking pacat. I can post the errors if anyone is intested.)
Thanks,
Finn Thain
2009-03-03 22:27:00 +01:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
4505bc9cc6
introduce default channel map in addition to the default sample spec
2009-02-21 16:32:42 +01:00
Marc-André Lureau
2c6abb8793
daemon-conf: make sure c->log_level < LEVEL_MAX
2009-02-19 04:56:58 +01:00
Lennart Poettering
d6201cfc3a
parse ini-style sections properly
2009-02-05 04:11:26 +01:00
Lennart Poettering
d5f46e824e
move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources
2009-01-27 04:39:07 +01:00
Lennart Poettering
3bcbe1d18f
check for availability of RLIMIT_NOFILE and RLIMIT_AS before we make use of it
2009-01-27 00:48:53 +01:00
Lennart Poettering
29c7a28817
kill autoload stuff as planned
2009-01-15 20:07:13 +01:00
Lennart Poettering
496499c0df
Make log meta, time, backtrace configurable using config file
2008-10-21 19:15:41 +02:00
Lennart Poettering
79ad4e63f6
Make the shared memory segment size configurable
...
This is useful only on systems where memory overcommit is not available
or disabled.
2008-10-01 01:14:36 +02:00
Lennart Poettering
f2164023fd
Add new option to disable remixing from/to LFE and set it to on by default
2008-09-05 16:04:42 +03:00
Lennart Poettering
b7026bf248
add a few more gcc warning flags and fix quite a few problems found by doing so
2008-08-19 22:39:54 +02:00
Lennart Poettering
432b4e5f7d
don't use PA_GCC_UNUSED anymore
2008-08-09 16:20:29 +02:00
Lennart Poettering
756fac8d04
add new switch --disallow-exit
2008-08-06 19:39:12 +02:00
Lennart Poettering
f1d2bf8408
add i18n support
2008-08-06 18:54:13 +02:00
Lennart Poettering
3888bfcccd
enable exit-on-idle by default
2008-07-22 19:45:18 +02:00
Lennart Poettering
8ae83d618e
get rid of svn $ keywords
2008-06-18 23:23:21 +03:00
Lennart Poettering
8125a75535
fix a compiler warning
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2472 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-21 22:42:32 +00:00
Lennart Poettering
045c1d602d
merge glitch-free branch back into trunk
...
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-15 23:34:41 +00:00
Lennart Poettering
14a9b80afb
- Check process name when dealing with PID files
...
- Add new PA_STREAM_FIX_CHANNELS, FIX_RATE, FIX_FORMAT, DONT_MOVE, VARIABLE_RATES to pa_sream_flags_t adn implement it
- Expose those flags in pacat
- Add notifications about device suspend/resume to the protocol and expose them in libpulse
- Allow changing of buffer_attr during playback
- allow disabling for remixing globally
- hookup polkit support
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2067 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-11-21 01:30:40 +00:00