Tanu Kaskinen
8c8df77d2a
dbusiface-card-profile: Implement the CardProfile D-Bus interface.
2009-08-09 10:36:20 +03:00
Tanu Kaskinen
acad506328
dbusiface-card: Implement the Card D-Bus interface.
2009-08-09 09:21:42 +03:00
Tanu Kaskinen
5ece8e8833
dbusiface-core: Add functions for getting various object paths.
2009-08-09 09:10:05 +03:00
Tanu Kaskinen
0b6662023b
dbusiface-core: Generate more informative error messages.
2009-08-09 09:06:21 +03:00
Tanu Kaskinen
06232e2965
dbus: Take advantage of the PA_HASHMAP_FOREACH macro.
2009-08-09 09:04:15 +03:00
Tanu Kaskinen
fcf68752e6
dbus: Three entangled changes:
...
* Make the dbus object constructors take a pa_dbusiface_core pointer
as an argument. Remove the path_prefix argument.
* Expose the core object path as a constant in protocol-dbus.h.
* Move the core interface name constant from iface-core.h to
protocol-dbus.h.
2009-08-09 08:37:33 +03:00
Diego Elio 'Flameeyes' Pettenò
4c15115007
Split OSS support in output and wrapper.
...
Since Fedora does not enable OSS output support at all, but still uses
padsp, and in Gentoo we could also make use of padsp without OSS output
support, split the two things in two parameters, although they both check
for sys/soundcard.h once.
2009-08-08 01:53:15 +02:00
Lennart Poettering
7d4916379b
ladspa/remap: make sure we process all requested rewinds unconditionally
...
In some situations a rewind request travelling downstream might be
optimized away on its way and an upstream rewind processing might never
come back. Hence, call _process_rewind() before each _render()just to
make sure we processed them all.
2009-08-07 23:58:45 +02:00
Lennart Poettering
51b3899348
core: save volume/mute changes coming from the hardware automatically
...
Volume changes coming from the lower layers are most likely changes
triggered by the user, so let's save them automatically.
2009-08-07 23:55:06 +02:00
Tanu Kaskinen
44770c59e9
dbusiface-memstats: Implement the Memstats D-Bus interface.
2009-08-04 18:01:26 +03:00
Tanu Kaskinen
b1578e27b6
dbus-protocol, dbusiface-core: Take a reference when storing the core pointer.
2009-08-04 17:55:10 +03:00
Tanu Kaskinen
8966c61d33
dbusiface-core: Make the interface string a public constant.
2009-08-04 17:50:18 +03:00
Lennart Poettering
9b2534b6d0
alsa: properly treat ESTRPIPE as system suspend
2009-08-04 00:23:43 +02:00
Lubomir Rintel
34f31f666e
Recover stream when it's suspended upon rewind
...
Error from snd_pcm_rewind() might mean we just woke up from suspend and
didn't have a chance to try to recover the stream since we didn't write
to it in between. Call try_recover() in such cases.
Note that for this to work kernel must return ESTRPIPE instead of EBADF
for rewind/forward attempts on suspended streams, so that
snd_pcm_recover() can recognize it should snd_pcm_resume() the stream.
This is not the case yet (2.6.31-rc5), patch is available.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
2009-08-03 22:47:15 +02:00
Tanu Kaskinen
d9d166a691
stream-restore: Expose module to D-Bus.
2009-08-03 19:38:02 +03:00
Tanu Kaskinen
a1ba80bc4e
dbusiface-core: Don't die if we get a default sink/source change event before the new default device is actually created.
2009-08-01 08:26:51 +03:00
Lennart Poettering
e5c2256e36
pipe: replace PIPE_BUF macro pa pa_pipe_buf call
...
This should help portability to platforms that lack PIPE_BUF. Based on a
patch from Samuel Thibault.
See ticket #546
2009-08-01 01:59:58 +02:00
Lennart Poettering
0113e7282c
hal: add option to initialize all subdevices of an OSS device
...
Patch from 'cmt', closes ticket #544
2009-07-31 23:13:21 +02:00
Tanu Kaskinen
68cb63c0d9
dbusiface-core: Send signals whenever extensions are registered and unregistered.
2009-07-31 12:06:53 +03:00
Lennart Poettering
39aa1cf94d
alsa: revert to first set number of periods, then set buffer size
...
Apparently some ALSA drivers aren't happy with getting the buffer size
configured first followed the period size. So swap the order again and
document this for future reference so that we don't turn that around
again.
2009-07-31 02:07:24 +02:00
Lennart Poettering
c14f6c179f
tunnel: don't assert on misaligned reads, closes #597 and rhbz #496310
2009-07-31 00:50:19 +02:00
Tanu Kaskinen
b061957e57
dbus/iface-core.c: Make sure D-Bus objects are created only once.
2009-07-30 13:11:32 +03:00
Tanu Kaskinen
018810ec9a
Bug fixing and minor cleanups.
2009-07-27 20:01:39 +03:00
Lennart Poettering
5efb07281d
alsa: throw timing data away after device resume
2009-07-24 20:13:52 +02:00
Lennart Poettering
2bbdf631f8
udev: explain what happened when inotify_add_watch() returned ENOSPC, rhbz #513571
2009-07-24 13:58:22 +02:00
Lennart Poettering
18433c19b6
alsa: handle correctly if alsa returns us 0 or EAGAIN on snd_pcm_mmap_begin if we didn't call snd_pcm_avail immediately before
2009-07-24 13:45:59 +02:00
Lennart Poettering
c325b93c01
alsa: don't reset volume/mute when selecting path
2009-07-23 19:24:26 +02:00
Lennart Poettering
ac38c4d898
build-sys: add a couple of stub Makefiles
2009-07-23 18:49:28 +02:00
Lennart Poettering
1160cad9c3
alsa: control 'Speaker' element as well
2009-07-23 18:44:26 +02:00
Lennart Poettering
e3b0ce57e0
udev: don't fail if /dev/snd is not available right-away
2009-07-22 22:48:54 +02:00
Lennart Poettering
7e2afffb81
alsa: deal properly with IO functions asking us to write 0 bytes
2009-07-22 22:38:38 +02:00
Tanu Kaskinen
9a77d2f81d
Add the forgotten src/modules/dbus directory to git.
2009-07-21 00:04:52 +03:00
Tanu Kaskinen
9347e90fed
Finish the Core dbus interface.
2009-07-21 00:02:27 +03:00
Lennart Poettering
6fdd5846b2
stream-restore: mark volume changes from instant apply as saved ones
2009-07-01 21:11:19 +02:00
Marc-André Lureau
95d3faaac8
bluetooth: don't connect on unconnected profile
2009-07-01 21:00:42 +02:00
Marc-André Lureau
e93c6c36fe
bluetooth: warn on EAGAIN after POLLOUT
2009-07-01 21:00:33 +02:00
Lennart Poettering
efdd3d054b
reserve: update from upstream git repo
2009-07-01 20:20:36 +02:00
Lennart Poettering
5d4769b7dd
alsa: fix a few comments
2009-07-01 20:20:06 +02:00
Lennart Poettering
cd70d7f5b0
bluetooth: don't busy loop when device is not writable but we want to write
2009-07-01 02:21:17 +02:00
Lennart Poettering
c3958aaa07
bluetooth: handle absence of bluez D-Bus service properly
2009-07-01 02:20:23 +02:00
Lennart Poettering
1104141d78
reserve: fix build without D-Bus
2009-06-30 21:13:09 +02:00
Colin Guthrie
a007d4740f
combine: Do not set (and update) description if the user passed one in during load.
...
Note that this will not turn off auto-description setting if the user were to
update the proplist later, so such a change could be short lived.
2009-06-29 22:52:31 +01:00
Tanu Kaskinen
c266595058
Merge branch 'master' into dbus-work
2009-06-29 18:55:12 +03:00
Diego Elio 'Flameeyes' Pettenò
2266a39bd3
Remove the call for pa_rtpoll_install() in the Solaris module.
...
I hope this is enough, since the removal of the other pa_rtpoll_install()
calls deemed Linux good enough, but said nothing about Solaris, but since
the function is gone there is little more to do.
2009-06-29 17:41:27 +02:00
Diego Elio 'Flameeyes' Pettenò
24564afc43
Fix the moved rtclock.h header in the Solaris module.
2009-06-29 17:41:18 +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
5b78752a04
intended-roles: drop quite a few unnecessary includes
2009-06-23 16:09:32 +02:00
Lennart Poettering
ef85558abd
modules: pass properly initialized userdata pointers to various hooks
2009-06-23 04:25:45 +02:00
Lennart Poettering
b6d0b0e808
intended-roles: properly initialize split state
2009-06-23 04:23:26 +02:00
Lennart Poettering
b627d68721
intended-roles: fix symdef header inclusion
2009-06-23 03:35:34 +02:00