profile/ivi/pulseaudio.git
15 years agomake interpol test more interesting by corking/uncorking multiple times
Lennart Poettering [Thu, 5 Mar 2009 03:32:16 +0000 (04:32 +0100)]
make interpol test more interesting by corking/uncorking multiple times

15 years agotry more things to get a proper icon for sinks/sources
Lennart Poettering [Wed, 4 Mar 2009 17:37:14 +0000 (18:37 +0100)]
try more things to get a proper icon for sinks/sources

15 years agonever try to suspend monitor sources, suspend the sinks they belong to instead
Lennart Poettering [Wed, 4 Mar 2009 04:31:53 +0000 (05:31 +0100)]
never try to suspend monitor sources, suspend the sinks they belong to instead

15 years agoprint error code when suspend/resume fails
Lennart Poettering [Wed, 4 Mar 2009 04:30:28 +0000 (05:30 +0100)]
print error code when suspend/resume fails

15 years agohandle negative error codes
Lennart Poettering [Wed, 4 Mar 2009 04:29:09 +0000 (05:29 +0100)]
handle negative error codes

15 years agofix handling of _suspend_all(), return first failure error code
Lennart Poettering [Wed, 4 Mar 2009 04:27:49 +0000 (05:27 +0100)]
fix handling of _suspend_all(), return first failure error code

15 years agomake suspend state of monitor source follow the suspend state of the sink it belongs to
Lennart Poettering [Wed, 4 Mar 2009 04:27:14 +0000 (05:27 +0100)]
make suspend state of monitor source follow the suspend state of the sink it belongs to

15 years agoDon't allow suspending of monitor sources.
Lennart Poettering [Wed, 4 Mar 2009 04:25:41 +0000 (05:25 +0100)]
Don't allow suspending of monitor sources.

Closes #499

15 years agoFix a NULL pointer access when sutting down esound/simple connections
Lennart Poettering [Wed, 4 Mar 2009 03:00:00 +0000 (04:00 +0100)]
Fix a NULL pointer access when sutting down esound/simple connections

If a connection is unlinked make sure the process_msg function doesn't
crash when a message is received afterwards.

Closes #463.

15 years agovarious smaller cleanups
Lennart Poettering [Wed, 4 Mar 2009 01:55:34 +0000 (02:55 +0100)]
various smaller cleanups

15 years agopa_xnew cannot fail -- that's what the x is in the name
Lennart Poettering [Wed, 4 Mar 2009 01:52:11 +0000 (02:52 +0100)]
pa_xnew cannot fail -- that's what the x is in the name

15 years agodocument more closely from which context certain functions may be called
Lennart Poettering [Wed, 4 Mar 2009 01:51:30 +0000 (02:51 +0100)]
document more closely from which context certain functions may be called

15 years agofix device reservation for system mode
Lennart Poettering [Tue, 3 Mar 2009 21:26:15 +0000 (22:26 +0100)]
fix device reservation for system mode

15 years agorevive solaris module
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

15 years agoMerge commit 'coling/lgpl21'
Lennart Poettering [Tue, 3 Mar 2009 20:44:56 +0000 (21:44 +0100)]
Merge commit 'coling/lgpl21'

15 years agoUse LGPL 2.1 on all files previously using LGPL 2
Colin Guthrie [Tue, 3 Mar 2009 20:23:02 +0000 (20:23 +0000)]
Use LGPL 2.1 on all files previously using LGPL 2

15 years agopass profile priority value to clients
Lennart Poettering [Mon, 2 Mar 2009 23:32:10 +0000 (00:32 +0100)]
pass profile priority value to clients

15 years agoproperly handle directed card info requests
Lennart Poettering [Mon, 2 Mar 2009 17:11:49 +0000 (18:11 +0100)]
properly handle directed card info requests

15 years agoMerge commit 'coling/master'
Lennart Poettering [Mon, 2 Mar 2009 15:28:08 +0000 (16:28 +0100)]
Merge commit 'coling/master'

15 years agorun make update-ffmpeg
Lennart Poettering [Mon, 2 Mar 2009 13:33:36 +0000 (14:33 +0100)]
run make update-ffmpeg

15 years agorun make update-sbc
Lennart Poettering [Mon, 2 Mar 2009 13:32:36 +0000 (14:32 +0100)]
run make update-sbc

15 years agorun update-reserve
Lennart Poettering [Mon, 2 Mar 2009 13:31:52 +0000 (14:31 +0100)]
run update-reserve

15 years agorun make update-shave
Lennart Poettering [Mon, 2 Mar 2009 13:28:43 +0000 (14:28 +0100)]
run make update-shave

15 years agoadd update-shave target
Lennart Poettering [Mon, 2 Mar 2009 13:28:26 +0000 (14:28 +0100)]
add update-shave target

15 years agoUse pa_assert_se() when the containing code has side effects.
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

15 years agoMerge commit 'coling/master'
Lennart Poettering [Mon, 2 Mar 2009 13:08:11 +0000 (14:08 +0100)]
Merge commit 'coling/master'

15 years agomake dependency on udev versioned
Lennart Poettering [Mon, 2 Mar 2009 13:06:23 +0000 (14:06 +0100)]
make dependency on udev versioned

15 years agoraop: Handle the reponse header memory allocation more sensibly.
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.

15 years agoraop: Log teardown explicitly
Colin Guthrie [Sun, 1 Mar 2009 18:11:36 +0000 (18:11 +0000)]
raop: Log teardown explicitly

15 years agoraop: Allow for nice sink descriptions to be set (interpolated from avahi)
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)

15 years agoFor now don't list icon property (in favour of icon name property) since icon negotia...
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.

15 years agoadd logic for initializing a useful icon name
Lennart Poettering [Sun, 1 Mar 2009 20:34:01 +0000 (21:34 +0100)]
add logic for initializing a useful icon name

15 years agoget additional device data from udev
Lennart Poettering [Sun, 1 Mar 2009 19:34:07 +0000 (20:34 +0100)]
get additional device data from udev

15 years agorename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS
Lennart Poettering [Sun, 1 Mar 2009 19:32:32 +0000 (20:32 +0100)]
rename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS

15 years agorevise form factor list a bit, simplify and use singular everywhere
Lennart Poettering [Sun, 1 Mar 2009 19:30:37 +0000 (20:30 +0100)]
revise form factor list a bit, simplify and use singular everywhere

15 years agointroduce seperate vendor/product id fields
Lennart Poettering [Sun, 1 Mar 2009 19:28:58 +0000 (20:28 +0100)]
introduce seperate vendor/product id fields

15 years agomake example code a bit more robust/change-proof
Lennart Poettering [Sun, 1 Mar 2009 19:27:55 +0000 (20:27 +0100)]
make example code a bit more robust/change-proof

15 years agoDon't assume that device reservation is enabled.
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

15 years agoMerge commit 'coling/master'
Lennart Poettering [Fri, 27 Feb 2009 00:18:04 +0000 (01:18 +0100)]
Merge commit 'coling/master'

15 years agowhen alsa tweaks our sample_spec make sure we adjust the watermark accordingly
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

15 years agowhen an underrun happens, increase watermark by 10ms instead of doubling it
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

15 years agorevise list of form factors a little
Lennart Poettering [Thu, 26 Feb 2009 23:32:32 +0000 (00:32 +0100)]
revise list of form factors a little

15 years agobluetooth: Fix under linked module-bluetooth-device
Colin Guthrie [Thu, 26 Feb 2009 09:02:15 +0000 (09:02 +0000)]
bluetooth: Fix under linked module-bluetooth-device

15 years agoFix a very strange 'file not found' error in module-alsa-card.
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

15 years agotry to vacuum a little when nothing is going on
Lennart Poettering [Wed, 25 Feb 2009 08:13:19 +0000 (09:13 +0100)]
try to vacuum a little when nothing is going on

15 years agoforgot to bump the revision
Lennart Poettering [Tue, 24 Feb 2009 22:02:56 +0000 (23:02 +0100)]
forgot to bump the revision

15 years agohide shave in gitignore
Lennart Poettering [Tue, 24 Feb 2009 21:35:13 +0000 (22:35 +0100)]
hide shave in gitignore

15 years agomake sure we check the sink status for PA_SINK_INPUT_FAIL_ON_SUSPEND only after modul...
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

15 years agoMerge commit 'elmarco/shave'
Lennart Poettering [Tue, 24 Feb 2009 10:43:15 +0000 (11:43 +0100)]
Merge commit 'elmarco/shave'

15 years agoignore tags file
Lennart Poettering [Tue, 24 Feb 2009 10:35:47 +0000 (11:35 +0100)]
ignore tags file

15 years agorun make update-po
Lennart Poettering [Tue, 24 Feb 2009 10:35:01 +0000 (11:35 +0100)]
run make update-po

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Tue, 24 Feb 2009 10:33:05 +0000 (11:33 +0100)]
Merge commit 'origin/master-tx'

15 years agoset reserve interface application device name
Lennart Poettering [Tue, 24 Feb 2009 10:29:35 +0000 (11:29 +0100)]
set reserve interface application device name

15 years agodon't put both the card and the pcm name in the description of a device if one contai...
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

15 years agoupdate reserve.c from upstream git
Lennart Poettering [Tue, 24 Feb 2009 05:36:42 +0000 (06:36 +0100)]
update reserve.c from upstream git

15 years agoimplement device reservation scheme
Lennart Poettering [Tue, 24 Feb 2009 05:13:39 +0000 (06:13 +0100)]
implement device reservation scheme

15 years agoin case alsa lies to use don't spin forever
Lennart Poettering [Tue, 24 Feb 2009 05:11:42 +0000 (06:11 +0100)]
in case alsa lies to use don't spin forever

15 years agoif ALSA gives us nonsensical data at least try to fix it up a little
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

15 years agobuild: shave it!
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/

15 years agointroduce new well-known role 'a11y'
Lennart Poettering [Tue, 24 Feb 2009 00:44:46 +0000 (01:44 +0100)]
introduce new well-known role 'a11y'

15 years agoMerge commit 'coling/master'
Lennart Poettering [Mon, 23 Feb 2009 23:26:07 +0000 (00:26 +0100)]
Merge commit 'coling/master'

15 years agoupdate gitignore
Lennart Poettering [Mon, 23 Feb 2009 23:24:31 +0000 (00:24 +0100)]
update gitignore

15 years agoMake .desktop and .policy file in src/daemon translatable
Kelemen Gábor [Sat, 21 Feb 2009 20:14:56 +0000 (21:14 +0100)]
Make .desktop and .policy file in src/daemon translatable

15 years agoMake pulseaudio.desktop and org.pulseaudio.policy translatable.
Kelemen Gábor [Sat, 21 Feb 2009 20:01:31 +0000 (21:01 +0100)]
Make pulseaudio.desktop and org.pulseaudio.policy translatable.

15 years agofix handling of stereo
Lennart Poettering [Mon, 23 Feb 2009 22:55:16 +0000 (23:55 +0100)]
fix handling of stereo

15 years agoit's probably more appropriate to return the configured latency instead of the actual...
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

15 years agocomplete esd suspend/resume implementation
Lennart Poettering [Mon, 23 Feb 2009 22:51:53 +0000 (23:51 +0100)]
complete esd suspend/resume implementation

15 years agoimplement esd sample panning. closes #428
Lennart Poettering [Mon, 23 Feb 2009 22:51:29 +0000 (23:51 +0100)]
implement esd sample panning. closes #428

15 years agoset esound.byte_order property
Lennart Poettering [Mon, 23 Feb 2009 22:49:08 +0000 (23:49 +0100)]
set esound.byte_order property

15 years agoallow scache entries to have arbitrary names
Lennart Poettering [Mon, 23 Feb 2009 21:57:09 +0000 (22:57 +0100)]
allow scache entries to have arbitrary names

15 years agouse pa_alsa_safe_delay() where appropriate
Lennart Poettering [Mon, 23 Feb 2009 21:56:34 +0000 (22:56 +0100)]
use pa_alsa_safe_delay() where appropriate

15 years agoprint driver name when we encounter driver bugs
Lennart Poettering [Mon, 23 Feb 2009 21:56:09 +0000 (22:56 +0100)]
print driver name when we encounter driver bugs

15 years ago add new wrapper pa_alsa_safe_delay() around snd_pcm_delay()
Lennart Poettering [Mon, 23 Feb 2009 21:55:33 +0000 (22:55 +0100)]
 add new wrapper pa_alsa_safe_delay() around snd_pcm_delay()

15 years agoadd new function pa_alsa_get_driver_name_by_pcm()
Lennart Poettering [Mon, 23 Feb 2009 21:54:28 +0000 (22:54 +0100)]
add new function pa_alsa_get_driver_name_by_pcm()

15 years agoUpdated linguas file for it lang
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)

15 years agoItalian language by ubuntu team
Francesco Tombolini [Mon, 23 Feb 2009 19:11:13 +0000 (19:11 +0000)]
Italian language by ubuntu team

Transmitted-via: Transifex (translate.fedoraproject.org)

15 years agoAdd the module dir to the libpulse pkgconfig file (needed for paprefs)
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)

15 years agoRemove references to trademarked terms.
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.

15 years agoa couple of boring updates
Lennart Poettering [Sun, 22 Feb 2009 04:04:43 +0000 (05:04 +0100)]
a couple of boring updates

15 years agoAllow passing a NULL proplist to pa_xxxx_update_proplist() to just fire a notification
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

15 years agoprepare test for tracking down ens1371 issue
Lennart Poettering [Sun, 22 Feb 2009 02:55:54 +0000 (03:55 +0100)]
prepare test for tracking down ens1371 issue

15 years agorework suspending/resuming
Lennart Poettering [Sun, 22 Feb 2009 01:00:25 +0000 (02:00 +0100)]
rework suspending/resuming

15 years agoinitialize selem index
Lennart Poettering [Sat, 21 Feb 2009 23:45:34 +0000 (00:45 +0100)]
initialize selem index

15 years agomake sure we don't choke on overly long lines in .desktop files
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

15 years agomake sure we don't choke on PULSE_PROP_OVERRIDE
Lennart Poettering [Sat, 21 Feb 2009 22:46:31 +0000 (23:46 +0100)]
make sure we don't choke on PULSE_PROP_OVERRIDE

15 years agorework logging to make it more modular
Lennart Poettering [Sat, 21 Feb 2009 21:45:56 +0000 (22:45 +0100)]
rework logging to make it more modular

15 years agomake string translatable (fixes #483)
Lennart Poettering [Sat, 21 Feb 2009 16:01:01 +0000 (17:01 +0100)]
make string translatable (fixes #483)

15 years agofix wording, closes #484
Lennart Poettering [Sat, 21 Feb 2009 15:58:24 +0000 (16:58 +0100)]
fix wording, closes #484

15 years agoprefer profiles that match the default channel map
Lennart Poettering [Sat, 21 Feb 2009 15:36:48 +0000 (16:36 +0100)]
prefer profiles that match the default channel map

15 years agoprint warnings about driver bugs at most once
Lennart Poettering [Sat, 21 Feb 2009 15:33:46 +0000 (16:33 +0100)]
print warnings about driver bugs at most once

15 years agointroduce default channel map in addition to the default sample spec
Lennart Poettering [Sat, 21 Feb 2009 15:32:42 +0000 (16:32 +0100)]
introduce default channel map in addition to the default sample spec

15 years agoadd new property PA_PROP_APPLICATION_PROCESS_SESSION_ID and initialize it by default
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

15 years agocheck for ENABLE_LEGACY_RUNTIME_DIR with #ifdef, not #if
Lennart Poettering [Sat, 21 Feb 2009 03:14:51 +0000 (04:14 +0100)]
check for ENABLE_LEGACY_RUNTIME_DIR with #ifdef, not #if

15 years agosplit off foreign code into a convenience library to make gcc warnings go away
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

15 years agotell gcc to ignore invalid gtk header files
Lennart Poettering [Sat, 21 Feb 2009 03:12:52 +0000 (04:12 +0100)]
tell gcc to ignore invalid gtk header files

15 years agoUpdated Polish translation
Piotr Drąg [Fri, 20 Feb 2009 23:51:53 +0000 (23:51 +0000)]
Updated Polish translation

Transmitted-via: Transifex (translate.fedoraproject.org)

15 years agosimplify some code
Lennart Poettering [Fri, 20 Feb 2009 20:39:46 +0000 (21:39 +0100)]
simplify some code

15 years agobluetooth: fix suspend on a2dp (to do on HSP non SCO over PCM)
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.

15 years agorun make update-po
Lennart Poettering [Fri, 20 Feb 2009 02:25:05 +0000 (03:25 +0100)]
run make update-po

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Fri, 20 Feb 2009 02:24:27 +0000 (03:24 +0100)]
Merge commit 'origin/master-tx'