Finn Thain [Thu, 26 Feb 2009 05:48:58 +0000 (16:48 +1100)]
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
Lennart Poettering [Tue, 3 Mar 2009 20:44:56 +0000 (21:44 +0100)]
Merge commit 'coling/lgpl21'
Colin Guthrie [Tue, 3 Mar 2009 20:23:02 +0000 (20:23 +0000)]
Use LGPL 2.1 on all files previously using LGPL 2
Lennart Poettering [Mon, 2 Mar 2009 23:32:10 +0000 (00:32 +0100)]
pass profile priority value to clients
Lennart Poettering [Mon, 2 Mar 2009 17:11:49 +0000 (18:11 +0100)]
properly handle directed card info requests
Lennart Poettering [Mon, 2 Mar 2009 15:28:08 +0000 (16:28 +0100)]
Merge commit 'coling/master'
Lennart Poettering [Mon, 2 Mar 2009 13:33:36 +0000 (14:33 +0100)]
run make update-ffmpeg
Lennart Poettering [Mon, 2 Mar 2009 13:32:36 +0000 (14:32 +0100)]
run make update-sbc
Lennart Poettering [Mon, 2 Mar 2009 13:31:52 +0000 (14:31 +0100)]
run update-reserve
Lennart Poettering [Mon, 2 Mar 2009 13:28:43 +0000 (14:28 +0100)]
run make update-shave
Lennart Poettering [Mon, 2 Mar 2009 13:28:26 +0000 (14:28 +0100)]
add update-shave target
Colin Guthrie [Mon, 2 Mar 2009 13:11:29 +0000 (13:11 +0000)]
Use pa_assert_se() when the containing code has side effects.
As reported by rantala. Closes #502 and #503
Lennart Poettering [Mon, 2 Mar 2009 13:08:11 +0000 (14:08 +0100)]
Merge commit 'coling/master'
Lennart Poettering [Mon, 2 Mar 2009 13:06:23 +0000 (14:06 +0100)]
make dependency on udev versioned
Colin Guthrie [Sun, 1 Mar 2009 23:17:07 +0000 (23:17 +0000)]
raop: Handle the reponse header memory allocation more sensibly.
In theory the callback called after reading headers could free our whole object, so we should not
take it upon ourselves to free the headers after the call to the callback.
Colin Guthrie [Sun, 1 Mar 2009 18:11:36 +0000 (18:11 +0000)]
raop: Log teardown explicitly
Colin Guthrie [Sun, 1 Mar 2009 18:10:35 +0000 (18:10 +0000)]
raop: Allow for nice sink descriptions to be set (interpolated from avahi)
Lennart Poettering [Sun, 1 Mar 2009 20:36:19 +0000 (21:36 +0100)]
For now don't list icon property (in favour of icon name property) since icon negotiation is probably much more complex (i.e. sizes...) than just putting icon data somewhere.
Lennart Poettering [Sun, 1 Mar 2009 20:34:01 +0000 (21:34 +0100)]
add logic for initializing a useful icon name
Lennart Poettering [Sun, 1 Mar 2009 19:34:07 +0000 (20:34 +0100)]
get additional device data from udev
Lennart Poettering [Sun, 1 Mar 2009 19:32:32 +0000 (20:32 +0100)]
rename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS
Lennart Poettering [Sun, 1 Mar 2009 19:30:37 +0000 (20:30 +0100)]
revise form factor list a bit, simplify and use singular everywhere
Lennart Poettering [Sun, 1 Mar 2009 19:28:58 +0000 (20:28 +0100)]
introduce seperate vendor/product id fields
Lennart Poettering [Sun, 1 Mar 2009 19:27:55 +0000 (20:27 +0100)]
make example code a bit more robust/change-proof
Colin Guthrie [Sat, 28 Feb 2009 23:45:02 +0000 (23:45 +0000)]
Don't assume that device reservation is enabled.
In the case when the alsa 'device' is not a physical card, it wont have an index and thus
the reservation name will be NULL and therefore we will not initialise the reservation system.
Fixes #498
Lennart Poettering [Fri, 27 Feb 2009 00:18:04 +0000 (01:18 +0100)]
Merge commit 'coling/master'
Lennart Poettering [Fri, 27 Feb 2009 00:15:29 +0000 (01:15 +0100)]
when alsa tweaks our sample_spec make sure we adjust the watermark accordingly
Lennart Poettering [Fri, 27 Feb 2009 00:15:06 +0000 (01:15 +0100)]
when an underrun happens, increase watermark by 10ms instead of doubling it
Lennart Poettering [Thu, 26 Feb 2009 23:32:32 +0000 (00:32 +0100)]
revise list of form factors a little
Colin Guthrie [Thu, 26 Feb 2009 09:02:15 +0000 (09:02 +0000)]
bluetooth: Fix under linked module-bluetooth-device
Colin Guthrie [Thu, 26 Feb 2009 00:54:37 +0000 (00:54 +0000)]
Fix a very strange 'file not found' error in module-alsa-card.
This fixes a regression introduced by commit
c341010304064c9a6ae13fab15c7fa7883acaeeb
Lennart Poettering [Wed, 25 Feb 2009 08:13:19 +0000 (09:13 +0100)]
try to vacuum a little when nothing is going on
Lennart Poettering [Tue, 24 Feb 2009 22:02:56 +0000 (23:02 +0100)]
forgot to bump the revision
Lennart Poettering [Tue, 24 Feb 2009 21:35:13 +0000 (22:35 +0100)]
hide shave in gitignore
Lennart Poettering [Tue, 24 Feb 2009 21:27:25 +0000 (22:27 +0100)]
make sure we check the sink status for PA_SINK_INPUT_FAIL_ON_SUSPEND only after module-suspend-on-idle had the chance to resume the device
Lennart Poettering [Tue, 24 Feb 2009 10:43:15 +0000 (11:43 +0100)]
Merge commit 'elmarco/shave'
Lennart Poettering [Tue, 24 Feb 2009 10:35:47 +0000 (11:35 +0100)]
ignore tags file
Lennart Poettering [Tue, 24 Feb 2009 10:35:01 +0000 (11:35 +0100)]
run make update-po
Lennart Poettering [Tue, 24 Feb 2009 10:33:05 +0000 (11:33 +0100)]
Merge commit 'origin/master-tx'
Lennart Poettering [Tue, 24 Feb 2009 10:29:35 +0000 (11:29 +0100)]
set reserve interface application device name
Lennart Poettering [Tue, 24 Feb 2009 10:29:11 +0000 (11:29 +0100)]
don't put both the card and the pcm name in the description of a device if one contains the other
Lennart Poettering [Tue, 24 Feb 2009 05:36:42 +0000 (06:36 +0100)]
update reserve.c from upstream git
Lennart Poettering [Tue, 24 Feb 2009 05:13:39 +0000 (06:13 +0100)]
implement device reservation scheme
Lennart Poettering [Tue, 24 Feb 2009 05:11:42 +0000 (06:11 +0100)]
in case alsa lies to use don't spin forever
Lennart Poettering [Tue, 24 Feb 2009 05:06:04 +0000 (06:06 +0100)]
if ALSA gives us nonsensical data at least try to fix it up a little
Marc-André Lureau [Mon, 23 Feb 2009 21:20:19 +0000 (23:20 +0200)]
build: shave it!
http://damien.lespiau.name/blog/2009/02/18/shave-making-the-autotools-output-sane/
Lennart Poettering [Tue, 24 Feb 2009 00:44:46 +0000 (01:44 +0100)]
introduce new well-known role 'a11y'
Lennart Poettering [Mon, 23 Feb 2009 23:26:07 +0000 (00:26 +0100)]
Merge commit 'coling/master'
Lennart Poettering [Mon, 23 Feb 2009 23:24:31 +0000 (00:24 +0100)]
update gitignore
Kelemen Gábor [Sat, 21 Feb 2009 20:14:56 +0000 (21:14 +0100)]
Make .desktop and .policy file in src/daemon translatable
Kelemen Gábor [Sat, 21 Feb 2009 20:01:31 +0000 (21:01 +0100)]
Make pulseaudio.desktop and org.pulseaudio.policy translatable.
Lennart Poettering [Mon, 23 Feb 2009 22:55:16 +0000 (23:55 +0100)]
fix handling of stereo
Lennart Poettering [Mon, 23 Feb 2009 22:55:05 +0000 (23:55 +0100)]
it's probably more appropriate to return the configured latency instead of the actual latency
Lennart Poettering [Mon, 23 Feb 2009 22:51:53 +0000 (23:51 +0100)]
complete esd suspend/resume implementation
Lennart Poettering [Mon, 23 Feb 2009 22:51:29 +0000 (23:51 +0100)]
implement esd sample panning. closes #428
Lennart Poettering [Mon, 23 Feb 2009 22:49:08 +0000 (23:49 +0100)]
set esound.byte_order property
Lennart Poettering [Mon, 23 Feb 2009 21:57:09 +0000 (22:57 +0100)]
allow scache entries to have arbitrary names
Lennart Poettering [Mon, 23 Feb 2009 21:56:34 +0000 (22:56 +0100)]
use pa_alsa_safe_delay() where appropriate
Lennart Poettering [Mon, 23 Feb 2009 21:56:09 +0000 (22:56 +0100)]
print driver name when we encounter driver bugs
Lennart Poettering [Mon, 23 Feb 2009 21:55:33 +0000 (22:55 +0100)]
add new wrapper pa_alsa_safe_delay() around snd_pcm_delay()
Lennart Poettering [Mon, 23 Feb 2009 21:54:28 +0000 (22:54 +0100)]
add new function pa_alsa_get_driver_name_by_pcm()
Francesco Tombolini [Mon, 23 Feb 2009 19:21:07 +0000 (19:21 +0000)]
Updated linguas file for it lang
Transmitted-via: Transifex (translate.fedoraproject.org)
Francesco Tombolini [Mon, 23 Feb 2009 19:11:13 +0000 (19:11 +0000)]
Italian language by ubuntu team
Transmitted-via: Transifex (translate.fedoraproject.org)
Colin Guthrie [Sun, 22 Feb 2009 16:36:16 +0000 (16:36 +0000)]
Add the module dir to the libpulse pkgconfig file (needed for paprefs)
Colin Guthrie [Sun, 22 Feb 2009 16:08:43 +0000 (16:08 +0000)]
Remove references to trademarked terms.
According to http://www.apple.com/legal/trademark/appletmlist.html we could run into
problems for using these terms without also displaying a corresponding disclaimer/attribution
notice. This is difficult in the context of a headless server, so simply don't use such terms.
In GUI apps which can enable this functionality we should use the relevant terminology, and
display the appropriate attribution notices.
Lennart Poettering [Sun, 22 Feb 2009 04:04:43 +0000 (05:04 +0100)]
a couple of boring updates
Lennart Poettering [Sun, 22 Feb 2009 04:01:32 +0000 (05:01 +0100)]
Allow passing a NULL proplist to pa_xxxx_update_proplist() to just fire a notification
Lennart Poettering [Sun, 22 Feb 2009 02:55:54 +0000 (03:55 +0100)]
prepare test for tracking down ens1371 issue
Lennart Poettering [Sun, 22 Feb 2009 01:00:25 +0000 (02:00 +0100)]
rework suspending/resuming
Lennart Poettering [Sat, 21 Feb 2009 23:45:34 +0000 (00:45 +0100)]
initialize selem index
Lennart Poettering [Sat, 21 Feb 2009 22:47:08 +0000 (23:47 +0100)]
make sure we don't choke on overly long lines in .desktop files
Lennart Poettering [Sat, 21 Feb 2009 22:46:31 +0000 (23:46 +0100)]
make sure we don't choke on PULSE_PROP_OVERRIDE
Lennart Poettering [Sat, 21 Feb 2009 21:45:56 +0000 (22:45 +0100)]
rework logging to make it more modular
Lennart Poettering [Sat, 21 Feb 2009 16:01:01 +0000 (17:01 +0100)]
make string translatable (fixes #483)
Lennart Poettering [Sat, 21 Feb 2009 15:58:24 +0000 (16:58 +0100)]
fix wording, closes #484
Lennart Poettering [Sat, 21 Feb 2009 15:36:48 +0000 (16:36 +0100)]
prefer profiles that match the default channel map
Lennart Poettering [Sat, 21 Feb 2009 15:33:46 +0000 (16:33 +0100)]
print warnings about driver bugs at most once
Lennart Poettering [Sat, 21 Feb 2009 15:32:42 +0000 (16:32 +0100)]
introduce default channel map in addition to the default sample spec
Lennart Poettering [Sat, 21 Feb 2009 15:26:09 +0000 (16:26 +0100)]
add new property PA_PROP_APPLICATION_PROCESS_SESSION_ID and initialize it by default
Lennart Poettering [Sat, 21 Feb 2009 03:14:51 +0000 (04:14 +0100)]
check for ENABLE_LEGACY_RUNTIME_DIR with #ifdef, not #if
Lennart Poettering [Sat, 21 Feb 2009 03:13:41 +0000 (04:13 +0100)]
split off foreign code into a convenience library to make gcc warnings go away
Lennart Poettering [Sat, 21 Feb 2009 03:12:52 +0000 (04:12 +0100)]
tell gcc to ignore invalid gtk header files
Piotr Drąg [Fri, 20 Feb 2009 23:51:53 +0000 (23:51 +0000)]
Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Lennart Poettering [Fri, 20 Feb 2009 20:39:46 +0000 (21:39 +0100)]
simplify some code
Marc-André Lureau [Tue, 17 Feb 2009 10:59:34 +0000 (12:59 +0200)]
bluetooth: fix suspend on a2dp (to do on HSP non SCO over PCM)
- s/setup_stream_fd/start_stream_fd
- introduce stop_stream_fd to suspend properly the stream_fd (does
not seem necessary when shuting down)
- move {start,stop}_stream_fd to IO thread, it is also a good idea
because it takes about 1s to setup.
Lennart Poettering [Fri, 20 Feb 2009 02:25:05 +0000 (03:25 +0100)]
run make update-po
Lennart Poettering [Fri, 20 Feb 2009 02:24:27 +0000 (03:24 +0100)]
Merge commit 'origin/master-tx'
Lennart Poettering [Fri, 20 Feb 2009 02:21:46 +0000 (03:21 +0100)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Fri, 20 Feb 2009 02:21:17 +0000 (03:21 +0100)]
big alsa module rework to make things more robust to broken sound drivers and make it easier to debug them
Lennart Poettering [Fri, 20 Feb 2009 02:20:36 +0000 (03:20 +0100)]
fix comment
Lennart Poettering [Fri, 20 Feb 2009 02:19:33 +0000 (03:19 +0100)]
add test tool for debugging broken timing in sound drivers
Lennart Poettering [Fri, 20 Feb 2009 02:17:53 +0000 (03:17 +0100)]
Make sure we actually call _() for translating profile names
Lennart Poettering [Fri, 20 Feb 2009 02:16:54 +0000 (03:16 +0100)]
make it easier to debug timing related problems
Lennart Poettering [Fri, 20 Feb 2009 00:18:37 +0000 (01:18 +0100)]
make profile names translatable
Lennart Poettering [Thu, 19 Feb 2009 23:32:15 +0000 (00:32 +0100)]
don't try to use weakref stuff on older compilers that don't really support it
Fabian Affolter [Thu, 19 Feb 2009 11:08:00 +0000 (11:08 +0000)]
Updated German translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Lennart Poettering [Thu, 19 Feb 2009 04:17:08 +0000 (05:17 +0100)]
Lennart Poettering [Thu, 19 Feb 2009 04:02:52 +0000 (05:02 +0100)]
Merge commit 'elmarco/legacy-dir'
Marc-André Lureau [Wed, 18 Feb 2009 19:35:18 +0000 (21:35 +0200)]
alsa-util: check if mixer_poll_descriptors_count() < 0
Marc-André Lureau [Wed, 18 Feb 2009 19:23:41 +0000 (21:23 +0200)]
pulsecore: don't leak p when make_random_dir_and_link()