Diego Elio 'Flameeyes' Pettenò
fe0b393f7a
Simplify Makefile.am handling of ALSA-related files.
...
Instead of declaring extra variables for the ALSA profiles and PATHS, and
using EXTRA_DIST for the udev rule, use the dist_ prefix when declaring
them for conditional installation.
This relies on the fact that automake *is* smart enough to know that there
exist *no* conditional dist, and will always distribute all of them.
2009-11-21 00:53:00 +01:00
Diego Elio 'Flameeyes' Pettenò
62278b4b94
Avoid using devname as a variable name.
...
On FreeBSD, devname() is a system function, and was overshadowed.
2009-11-21 00:47:44 +01:00
Diego Elio 'Flameeyes' Pettenò
d963998676
Rename all the signal parameters and variables to something more explicit.
...
Without this change, on FreeBSD you'll be bothered by tons of warnings
about overshadowing signal(2).
2009-11-21 00:46:46 +01:00
Diego Elio 'Flameeyes' Pettenò
2caf59d49f
Since now we have FreeBSD atomic operations, don't require libatomic_ops.
...
This lets the original configure script to pass on FreeBSD.
2009-11-21 00:27:35 +01:00
Diego Elio 'Flameeyes' Pettenò
ca637e5ba4
Simplify handling of NetBSD atomic ops discovery.
...
Instead of having a parameter to enable/disable them (which was also
ignored by the source code side), simply identify NetBSD 5 (when the atomic
ops were implemented the first time) in a $host switch and ignore checking
for libatomic_ops.
2009-11-21 00:17:33 +01:00
Diego Elio 'Flameeyes' Pettenò
40aee60bfa
Merge branch 'master' of git://git.0pointer.de/pulseaudio
2009-11-21 00:10:37 +01:00
Jason Newton
77c6b69656
remove .py extension from qpaeq
2009-11-20 15:07:47 -08:00
Lennart Poettering
fc4cf27569
Merge remote branch 'phish3/master'
2009-11-21 00:05:02 +01:00
Joe Marcus Clarke
f5d8aef0ac
freebsd: fix atomic ops implementations
...
Stole from
http://www.freebsd.org/cgi/cvsweb.cgi/ports/audio/pulseaudio/files/patch-src_pulsecore_atomic.h?rev=1.6
2009-11-21 00:02:36 +01:00
Jason Newton
41853cc7c0
added qpaeq script for GUI equalizer control to src/util
2009-11-20 14:56:07 -08:00
Diego Elio 'Flameeyes' Pettenò
5150a101ef
Check for stow using AC_CHECK_PROG rather than type -p.
...
The type -p check is not compatible with POSIX shells, and indeed fails
when used with the FreeBSD 8 default shell. Instead the AC_CHECK_PROG macro
is written properly to look for the command.
2009-11-20 21:37:16 +01:00
Diego Elio 'Flameeyes' Pettenò
4923f3ca77
Include sys/filio.h if present; this makes use of FIONREAD on Solaris.
...
FIONREAD on OpenSolaris is declared in sys/filio.h. The RTP modules already
rely on the presence of FIONREAD, and check for the header, so this brings
the pipe source and sink modules on par with them.
2009-11-20 21:25:33 +01:00
Diego Elio 'Flameeyes' Pettenò
09a58b6813
Don't declare the variable l if FIONREAD is not defined.
...
This avoids two warnings due to FIONREAD not being defined.
2009-11-20 21:24:46 +01:00
Diego Elio 'Flameeyes' Pettenò
71ebbfb6ef
Fix build on Solaris: pass the third parameter to pa_cloexec_open.
2009-11-20 21:23:53 +01:00
Diego Elio 'Flameeyes' Pettenò
70ba21e78a
Move the platform-specific defines after the compiler has been found.
...
Without this change, on OpenSolaris, it's possible that the compiler will
be reported, by default, as failing to produce executables, since
_XOPEN_SOURCE=600 requires a C99 compiler to compile even the simples of
the programs.
2009-11-20 21:08:05 +01:00
Lennart Poettering
6daf112ce0
alsa: fix minor sampling rate deviations before adjusting the buffer size
2009-11-20 20:27:03 +01:00
Lennart Poettering
bd3467ff2f
alsa: fix log output when the audio device refuses to give us again the same period settings we had before
2009-11-20 20:00:26 +01:00
Lennart Poettering
ba95b1939d
pulse: ask for timing updates both *before* and *after* triggering a stream state change so that in the STARTED/UNDERFLOW callbacks we accurate transport latency information
2009-11-20 19:55:47 +01:00
Lennart Poettering
f05ae357b6
pulse: delay smoother update only when unpausing, not when pausing, since we don't want the timer to advance when we are supposedly already paused
2009-11-20 19:48:08 +01:00
Lennart Poettering
a3b5a94488
pulse: try to fix inaccuracy with uncork timing for streams that are created in corked state
2009-11-20 17:49:30 +01:00
Lennart Poettering
b8acf5586f
daemon: complain if user passes too many arguments
2009-11-20 17:48:04 +01:00
Jason Newton
493d8b2fb7
module-equalizer-sink: add latency of output_q and input_q to get latency calculation
2009-11-20 06:34:46 -08:00
Jason Newton
1178f61280
module-equalizer-sink: switch back to reference dsp implementation - cpu usage doesn't really change and there may be
...
a bug in the vectorized version
2009-11-20 06:34:46 -08:00
Jason Newton
c6c933b4ec
module-equalizer-sink: (re)added output memblockq commented out timing debug statements
2009-11-20 06:34:46 -08:00
Lennart Poettering
9708ecd648
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-11-20 01:02:01 +01:00
Lennart Poettering
9033140f18
rygel: fix itemCount property for sources
...
Fixes http://pulseaudio.org/ticket/721
2009-11-18 22:00:31 +01:00
Colin Guthrie
eb5562637b
build-sys: Fix missing trailing slash in 14eaf2
2009-11-16 23:36:44 +00:00
Sjoerd Simons
14eaf245c6
build-sys: Make sure all alsa path config files are installed
...
While all alsa path configuration files were in EXTRA_DIST not all of them were
in in alsapaths_DATA. Fixed by only defining the list in one place
2009-11-15 01:13:02 +01:00
Colin Guthrie
dad36acea3
device-manager: Update docs version -> 0.9.20
...
Third time is a charm... maybe.
2009-11-11 17:24:57 +00:00
Daniel Mack
ed7642ebac
Merge branch 'master' of git://0pointer.de/pulseaudio
2009-11-11 10:48:39 +01:00
Lennart Poettering
2294642762
core: make cpuid code compile cleanly with 32bit PIC
2009-11-11 04:50:32 +01:00
Lennart Poettering
d9b5bbca01
core: adjust volume only when there is actually a memory block
...
Fixes an assert that is hit in somne niche cases:
https://bugzilla.redhat.com/show_bug.cgi?id=533482
2009-11-11 04:18:10 +01:00
Wim Taymans
f3866f2635
protocol: use the right sample rate for sources
...
Use the correct sample rate for reporting about the timing.
2009-11-10 13:21:55 +01:00
Colin Guthrie
9e45f198d0
device-manager: Update docs version -> 0.9.20
2009-11-09 21:57:07 +00:00
Lennart Poettering
f202af17b7
ramping: minor cleanups
2009-11-05 22:58:15 +01:00
Lennart Poettering
4d62f159a7
Merge remote branch 'origin/merge-queue'
...
Conflicts:
src/pulsecore/sink-input.c
src/pulsecore/sink.c
2009-11-05 22:54:42 +01:00
Lennart Poettering
721e32b473
jack: never try to autoconnect to MIDI ports
...
Original patch supplied by 'adi'
http://pulseaudio.org/ticket/669
2009-11-05 05:18:10 +01:00
Lennart Poettering
38a03c1e4f
man: fix build with --disable-manpages
...
http://pulseaudio.org/ticket/698
2009-11-05 05:08:50 +01:00
Vladimir Kokarev
7793da371b
lirc,mmkvd: added module parameters volume_limit, volume_step
...
volume_limit sets maximum volume that can be set from the module
default is PA_VOLUME_NORM*3/2 (150%)
volume_step sets step in volume changing
default is PA_VOLUME_NORM/20
values are of raw pa_volume_t type
2009-11-05 04:57:15 +01:00
Vladimir Kokarev
d2c59354d5
volume: add pa_cvolume_inc_clamp function
...
added function to increase volume not exceeding specified limit
simply changed PA_VOLUME_MAX to 'limit' in pa_cvolume_inc
pa_cvolume_inc now calls pa_cvolume_inc_clamp with PA_VOLUME_MAX limit
2009-11-05 04:56:47 +01:00
Lennart Poettering
53b046d5c9
alsa: disable timer-based scheduling inside a VM
...
In virtual machines sound card clocks and OS scheduling tend to become
unreliable, adding various 'uneven' latencies. The adaptive algorithm
that handles drop-outs does not handle it this well: in contrast to
drop-outs on real machines that are evenly distributed, small and can
easily be encountered via the adpative algorithms, drop-outs in VMs tend
to happen abruptly, and massively, which is not easy to counter.
This patch simply disables timer based scheduling in VMs reverting to
classic IO based scheduling. This should help make PA perform better in
VMs.
https://bugzilla.redhat.com/show_bug.cgi?id=532775
2009-11-05 03:23:08 +01:00
Lennart Poettering
c079ceeba0
daemon: during startup say whether we run in a VM
2009-11-05 03:22:48 +01:00
Lennart Poettering
642c69bed8
core-util: add call to detect if we are called from within a VM
2009-11-05 03:22:15 +01:00
Lennart Poettering
19516d4e7f
alsa: introduce more standard path names
2009-11-05 03:21:10 +01:00
Lennart Poettering
83b181f92a
alsa: cover 'Analog Output' control
...
http://pulseaudio.org/ticket/702
2009-11-04 00:15:47 +01:00
Daniel Mack
21ffcd55a5
Merge branch 'master' of git://0pointer.de/pulseaudio
2009-11-02 18:09:57 +01:00
Lennart Poettering
7938442f77
Merge remote branch 'phish3/master'
2009-10-31 03:49:02 +01:00
Lennart Poettering
6839ef6874
alsa: create a seperate mixer path for Speaker elements
...
On some cards line-out is independant of Sepaker and it is a good idea
to cover that so that they can independantly be activated.
https://bugzilla.redhat.com/show_bug.cgi?id=520884
2009-10-31 03:43:42 +01:00
Lennart Poettering
73a4f4fdbc
alsa: leave other headphone control enabled if possible
2009-10-31 03:42:42 +01:00
Lennart Poettering
591ade1aca
alsa: lower priority for Headphone2 path
2009-10-31 03:41:21 +01:00