Diego Elio 'Flameeyes' Pettenò
a29c6f86e0
Add missing headers' include to build on FreeBSD 7.1.
2009-07-16 18:03:57 +01:00
Lennart Poettering
dce6af5fef
alsa: remove debug code
2009-06-08 22:31:51 +01:00
Lennart Poettering
2537374770
alsa: properly convert return values of snd_strerror() to utf8
2009-06-08 22:31:51 +01:00
Lennart Poettering
c2a3d91480
core: introduce pa_{sink,source}_set_fixed_latency()
...
This allows us to forward the fixed latency directly from the sink to
the monitor source withut having to wait for pa_sink_put().
2009-06-08 22:31:51 +01:00
Lennart Poettering
7e664dc56a
rescue: make we don't end up in an endless loop when we can't move a sink input
2009-06-08 22:31:51 +01:00
Lennart Poettering
a8bcf9b843
alsa: be a bit more verbose when a hwparam call fails
2009-06-08 22:31:51 +01:00
Lennart Poettering
d7b3dbff6c
rescue-streams: when one stream move fails try to continue with the remaining ones
2009-06-08 22:31:51 +01:00
Lennart Poettering
14dd16ad13
oss: don't deadlock when we try to resume an OSS device that lacks a mixer
2009-06-08 22:31:50 +01:00
Lennart Poettering
d52262367a
core: make sure soft mute status stays in sync with hw mute status
...
This should close rhbz #494851 , mandriva bz #51234 .
Probably the same as our own #572 , launchpad #352732 .
2009-06-08 22:31:50 +01:00
Lennart Poettering
fab8c8290d
alsa: initialize buffer size before number of periods to improve compat with some backends
2009-06-08 22:31:50 +01:00
Lennart Poettering
5657be51e1
alsa: fix wording, we are speaking of card profiles, not output profiles
2009-06-08 22:31:50 +01:00
Lennart Poettering
a5fad31238
alsa: don't hit an assert when invalid module arguments are passed
2009-06-08 22:31:50 +01:00
Lennart Poettering
4f2a3cb601
alsa: allow configuration of fallback device strings in profiles
...
This has the benefit that we can properly support ALSA devices where
only the raw 'hw' device exists but no 'front' although it's a proper
2ch stereo device.
2009-06-08 22:31:49 +01:00
Lennart Poettering
ca9cd14659
add a few missing initializations
2009-04-14 01:23:07 +02:00
Lennart Poettering
40d71e1f49
explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute
2009-04-14 01:22:42 +02:00
Lennart Poettering
fe8b10cc05
core: introduce new 'reference' volume for sinks
...
The reference volume is to be used as reference volume for stored stream
volumes. Previously if a new stream was created the relative volume was
taken relatively to the virtual device volume. Due to the flat volume
logic this could then be fed back to the virtual device volume.
Repeating the whole story over and over would result in a device volume
that would go lower, and lower and lower.
This patch introduces a 'reference' volume for each sink which stays
unmodified by stream volume changes even if flat volumes are used. It is
only modified if the sink volumes are modified directly by the user.
For further explanations see http://pulseaudio.org/wiki/InternalVolumes
2009-04-13 22:56:25 +02:00
Lennart Poettering
49dcf0940e
alsa: include the alsa mixer control that is used in the property list
2009-04-13 22:56:25 +02:00
Lennart Poettering
6fd8fd18c2
alsa: store mixer controls to use in profile data
...
This allows us to easily use different mixer controls for analog and
spdif output.
2009-04-13 22:56:19 +02:00
Lennart Poettering
89f74cb858
alsa: when passing emptry mixer control name, force sw volume
2009-04-13 22:45:31 +02:00
Lennart Poettering
0ac038e591
client-conf-x11: unbreak autospawn due to stale X11 properties
...
If the X11 property data is from the same session than the client the
client may do autospawning in case the X11 property data is stale.
Closes #518 .
2009-04-13 22:28:35 +02:00
Lennart Poettering
17f1784cb7
cork-music-on-phone: make sure that we don't check the refcnt of pa_core when the daemon goes down
2009-04-13 05:12:11 +02:00
Lennart Poettering
62db10c952
lirc: fix logic behind mute buttons
2009-04-13 04:44:27 +02:00
Lennart Poettering
66d21849e6
mmkbd: get rid of support for ancient kernels
2009-04-13 04:43:11 +02:00
Lennart Poettering
f1d3dfb118
mmkbd,lirc: make use of pa_assert_not_reached()
2009-04-13 04:42:33 +02:00
Lennart Poettering
270a6981f7
lirc, mmkbd: extend controllable volume range to PA_VOLUME_MAX
2009-04-13 04:41:51 +02:00
Lennart Poettering
e9dd7a504e
lirc: drop lirc_in_use, it's made redundant by PA_MODULE_LOAD_ONCE
2009-04-13 04:38:57 +02:00
Lennart Poettering
d8de5d374e
make sure we never overflow when calculating sleep time
...
Issue pointed out by Jaroslav Kysela
2009-04-13 03:40:46 +02:00
Lennart Poettering
991cb06134
set fixed latencies at more places where appropriate
2009-04-10 02:26:59 +02:00
Lennart Poettering
5388b44b9a
alsa: when printing warning about bogus data from alsa include snd_pcm_dump()
2009-04-10 01:58:39 +02:00
Lennart Poettering
ee6657aa9a
bluetooth: when starting up HSP stream, send 2 packets first, only afterwards enter one-read-one-write logic
2009-04-10 01:31:30 +02:00
Lennart Poettering
d77b28cb4b
bluetooth: rework timing logic, properly implement latency callbacks
2009-04-10 01:30:50 +02:00
Lennart Poettering
e9a4dec81e
bluetooth: be a bit more verbose if we exit due to bad poll() revents flag
2009-04-10 01:29:46 +02:00
Lennart Poettering
48cff5b55d
bluetooth: rename sco to hsp also for the user
2009-04-10 01:28:21 +02:00
Lennart Poettering
9ee6a41491
bluetooth: memory leak, actually free discovery struct itself
2009-04-10 01:12:12 +02:00
Lennart Poettering
6c04a1c903
bluetooth: make sure to set max_request
2009-04-08 04:15:42 +02:00
Lennart Poettering
2c2713a72c
make use of SO_TIMESTAMP timestamp for accuracy and leave smoother paused until we have data
2009-04-07 00:50:47 +02:00
Lennart Poettering
f204c0fe43
mark null sink as support dynamic latency
2009-04-07 00:48:09 +02:00
Lennart Poettering
298bd0b0c6
adjust max_rewind/max_request whenever the latency changes
2009-04-07 00:47:55 +02:00
Lennart Poettering
e976034063
send the source latency based on the MTU size
2009-04-07 00:47:13 +02:00
Lennart Poettering
886ddc33d8
make sure we don't apply sampling rate fixes that bring the sampling freq > PA_RATE_MAX
...
Fixes #525
2009-04-06 23:02:50 +02:00
Lennart Poettering
daa945aa32
don't fail device reservation if the D-Bus connection is dead
2009-04-06 04:21:26 +02:00
Lennart Poettering
6ba3333030
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-04-05 03:05:51 +02:00
Lennart Poettering
d035f4a3f3
Modify smoothing code to make cubic interpolation optional and allow 'quick fixups' on resuming
...
The primary reason for this change is to allow time graphs that do not
go through the origin and hence smoothing starting from the origin is
not desired. This change will allow passing time data into the smoother
while paused and then abruptly use that data without smoothing using the
'quick fixup' flag when resuming.
Primary use case is allowing recording time graphs where the data
recorded originates from a time before the stream was created. The
resulting graft will be shifted and should not be smoothened to go
through the origin.
2009-04-05 02:26:02 +02:00
Lennart Poettering
ca39fa2c6f
initialize sound cards only after the 'control' object appeared
2009-04-04 04:13:58 +02:00
Lennart Poettering
77a1e3876b
refuse to initialize on modem devices
2009-04-04 04:12:42 +02:00
Maarten Bosmans
8bcb9c6910
various spelling fixes
2009-04-04 02:27:13 +02:00
Lennart Poettering
6152c52420
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-04-03 17:50:37 +02:00
Lennart Poettering
143e1ba739
downgrade a few messages
2009-04-03 17:49:05 +02:00
Lennart Poettering
373b5efe51
properly account for seeks in the requested_bytes counter
2009-04-01 23:05:09 +02:00
Lennart Poettering
380e97a596
use machine id instead of hostname to identify local connections
2009-04-01 21:15:52 +02:00