platform/upstream/pulseaudio.git
15 years agowhen determining the minimum volume of all sink inputs make sure to handle the case...
Lennart Poettering [Sun, 1 Feb 2009 23:27:47 +0000 (00:27 +0100)]
when determining the minimum volume of all sink inputs make sure to handle the case when there are no sink inputs correctly

15 years agostore the module index shifted by 1 to map PA_INVALID_INDEX to NULL
Lennart Poettering [Sun, 1 Feb 2009 23:25:02 +0000 (00:25 +0100)]
store the module index shifted by 1 to map PA_INVALID_INDEX to NULL

15 years agodrop -pedantic
Lennart Poettering [Sun, 1 Feb 2009 23:23:49 +0000 (00:23 +0100)]
drop -pedantic

15 years agodownload everything from gitweb twice to make sure we don't get a 'Generating......
Lennart Poettering [Sun, 1 Feb 2009 23:23:21 +0000 (00:23 +0100)]
download everything from gitweb twice to make sure we don't get a 'Generating...' message

15 years agoadd a few new form factors
Lennart Poettering [Sun, 1 Feb 2009 23:22:02 +0000 (00:22 +0100)]
add a few new form factors

15 years agointroduce PA_PROP_APPLICATION_PROCESS_MACHINE_ID
Lennart Poettering [Sun, 1 Feb 2009 23:21:41 +0000 (00:21 +0100)]
introduce PA_PROP_APPLICATION_PROCESS_MACHINE_ID

15 years agowork around dlsym() return value mistyping as suggested in POSIX
Lennart Poettering [Sun, 1 Feb 2009 23:20:57 +0000 (00:20 +0100)]
work around dlsym() return value mistyping as suggested in POSIX

15 years agouse uintpr_t when casting between pointers and integers
Lennart Poettering [Sun, 1 Feb 2009 23:20:05 +0000 (00:20 +0100)]
use uintpr_t when casting between pointers and integers

15 years agocheck for NULL before accessing the name
Lennart Poettering [Sun, 1 Feb 2009 23:19:26 +0000 (00:19 +0100)]
check for NULL before accessing the name

15 years agoallow passing of channel map on command line and hide unused sliders
Lennart Poettering [Sun, 1 Feb 2009 23:18:47 +0000 (00:18 +0100)]
allow passing of channel map on command line and hide unused sliders

15 years agolook for libpulse in multiple different places
Lennart Poettering [Sun, 1 Feb 2009 23:17:58 +0000 (00:17 +0100)]
look for libpulse in multiple different places

15 years agoimplement pa_channel_map_can_fade
Lennart Poettering [Sat, 31 Jan 2009 00:17:09 +0000 (01:17 +0100)]
implement pa_channel_map_can_fade

15 years agodrop -Wpacked
Lennart Poettering [Sat, 31 Jan 2009 00:16:16 +0000 (01:16 +0100)]
drop -Wpacked

15 years agoMerge branch 'master' into lennartsbtfixes
Lennart Poettering [Fri, 30 Jan 2009 03:28:05 +0000 (04:28 +0100)]
Merge branch 'master' into lennartsbtfixes

15 years agodump properties when we create a new sink or source
Lennart Poettering [Fri, 30 Jan 2009 01:25:49 +0000 (02:25 +0100)]
dump properties when we create a new sink or source

15 years agosuppress lines made up only of whitespace
Lennart Poettering [Fri, 30 Jan 2009 01:25:22 +0000 (02:25 +0100)]
suppress lines made up only of whitespace

15 years agoinclude ALSA driver in properties for cards/sink
Lennart Poettering [Fri, 30 Jan 2009 01:24:58 +0000 (02:24 +0100)]
include ALSA driver in properties for cards/sink

15 years agoadd new function pa_alsa_get_driver_name()
Lennart Poettering [Fri, 30 Jan 2009 01:24:40 +0000 (02:24 +0100)]
add new function pa_alsa_get_driver_name()

15 years agoMerge branch 'master' into lennartsbtfixes
Lennart Poettering [Thu, 29 Jan 2009 23:31:03 +0000 (00:31 +0100)]
Merge branch 'master' into lennartsbtfixes

15 years agoAdd a little Gtk test tool to show how balance/fade/value and the channel volumes...
Lennart Poettering [Thu, 29 Jan 2009 23:22:07 +0000 (00:22 +0100)]
Add a little Gtk test tool to show how balance/fade/value and the channel volumes play together

15 years agoimplement pa_cvolume_{get|set}_fade
Lennart Poettering [Thu, 29 Jan 2009 23:15:40 +0000 (00:15 +0100)]
implement pa_cvolume_{get|set}_fade

15 years agofix a bogus assert
Lennart Poettering [Thu, 29 Jan 2009 23:14:50 +0000 (00:14 +0100)]
fix a bogus assert

15 years agoproperly deal with the case when l/r is silent when adjust balance
Lennart Poettering [Thu, 29 Jan 2009 23:14:28 +0000 (00:14 +0100)]
properly deal with the case when l/r is silent when adjust balance

15 years agoadd missing files
Lennart Poettering [Thu, 29 Jan 2009 19:30:42 +0000 (20:30 +0100)]
add missing files

15 years agotemporary commit of lennarts new bt changes
Lennart Poettering [Thu, 29 Jan 2009 15:27:27 +0000 (16:27 +0100)]
temporary commit of lennarts new bt changes

15 years agoadd some helpers for dealing with DBusPendingCall based on Mrc-Andre's work in module...
Lennart Poettering [Thu, 29 Jan 2009 15:26:34 +0000 (16:26 +0100)]
add some helpers for dealing with DBusPendingCall based on Mrc-Andre's work in module-bluetooth-discover

15 years agoget rid of nonsensical late initialization of namereg/scache and things
Lennart Poettering [Thu, 29 Jan 2009 15:25:29 +0000 (16:25 +0100)]
get rid of nonsensical late initialization of namereg/scache and things

15 years agomake use of new functions pa_dbus_add_matches/pa_dbus_remove_matches
Lennart Poettering [Thu, 29 Jan 2009 02:31:42 +0000 (03:31 +0100)]
make use of new functions pa_dbus_add_matches/pa_dbus_remove_matches

15 years agoadd new functions pa_dbus_add_matches()/pa_dbus_remove_matches()
Lennart Poettering [Thu, 29 Jan 2009 02:30:50 +0000 (03:30 +0100)]
add new functions pa_dbus_add_matches()/pa_dbus_remove_matches()

15 years agomake things compile again
Lennart Poettering [Wed, 28 Jan 2009 03:49:07 +0000 (04:49 +0100)]
make things compile again

15 years agoRun make update-po
Lennart Poettering [Wed, 28 Jan 2009 03:39:42 +0000 (04:39 +0100)]
Run make update-po

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Wed, 28 Jan 2009 03:25:07 +0000 (04:25 +0100)]
Merge commit 'origin/master-tx'

15 years agoMerge commit '12db687acf3befe485bfff3700111999c95247fa'
Lennart Poettering [Wed, 28 Jan 2009 03:22:51 +0000 (04:22 +0100)]
Merge commit '12db687acf3befe485bfff3700111999c95247fa'

15 years agostore the default sink/source in proper pa_sink*/pa_source* pointers instead of a...
Lennart Poettering [Wed, 28 Jan 2009 00:46:27 +0000 (01:46 +0100)]
store the default sink/source in proper pa_sink*/pa_source* pointers instead of a string

15 years agofix two typos
Lennart Poettering [Wed, 28 Jan 2009 00:39:19 +0000 (01:39 +0100)]
fix two typos

15 years agoprint the right software volume
Lennart Poettering [Wed, 28 Jan 2009 00:31:54 +0000 (01:31 +0100)]
print the right software volume

15 years agobluetooth: cold hsp/a2dp device detection
Marc-André Lureau [Mon, 19 Jan 2009 17:58:41 +0000 (19:58 +0200)]
bluetooth: cold hsp/a2dp device detection

15 years agobluetooth: hsp volume control
Marc-André Lureau [Mon, 19 Jan 2009 12:53:35 +0000 (14:53 +0200)]
bluetooth: hsp volume control

15 years agoMerge commit 'coling/master'
Lennart Poettering [Tue, 27 Jan 2009 23:25:50 +0000 (00:25 +0100)]
Merge commit 'coling/master'

15 years agomake m-v-r a stub that simply load m-s-r
Lennart Poettering [Tue, 27 Jan 2009 23:22:28 +0000 (00:22 +0100)]
make m-v-r a stub that simply load m-s-r

15 years agoadd missing usage strings
Lennart Poettering [Tue, 27 Jan 2009 23:19:47 +0000 (00:19 +0100)]
add missing usage strings

15 years agoFix the message processing for PA_SINK_MESSAGE_GET_LATENCY by returning rather than...
Colin Guthrie [Tue, 27 Jan 2009 22:59:36 +0000 (22:59 +0000)]
Fix the message processing for PA_SINK_MESSAGE_GET_LATENCY by returning rather than breaking and falling through.

15 years agodon't make m-e-s hit an assert when the latency is queried
Lennart Poettering [Tue, 27 Jan 2009 22:58:34 +0000 (23:58 +0100)]
don't make m-e-s hit an assert when the latency is queried

15 years agoinstead of making the volume relative our own, let' pa_sink_input_new() do it for us
Lennart Poettering [Tue, 27 Jan 2009 22:55:22 +0000 (23:55 +0100)]
instead of making the volume relative our own, let' pa_sink_input_new() do it for us

15 years agomake m-p-e-s use pa_cvolume_set_balance()
Lennart Poettering [Tue, 27 Jan 2009 22:52:35 +0000 (23:52 +0100)]
make m-p-e-s use pa_cvolume_set_balance()

15 years agoonly store volume/device information that has been flagged for saving, and store...
Lennart Poettering [Tue, 27 Jan 2009 22:39:39 +0000 (23:39 +0100)]
only store volume/device information that has been flagged for saving, and store both relative and absolute volumes

15 years agowhen changing volume, store whether it is worth remembering or no
Lennart Poettering [Tue, 27 Jan 2009 22:35:55 +0000 (23:35 +0100)]
when changing volume, store whether it is worth remembering or no

15 years agoadd missing 'const'
Lennart Poettering [Tue, 27 Jan 2009 21:49:02 +0000 (22:49 +0100)]
add missing 'const'

15 years agoadd new paramter ignore_dB= to alsa modules
Lennart Poettering [Tue, 27 Jan 2009 16:55:50 +0000 (17:55 +0100)]
add new paramter ignore_dB= to alsa modules

15 years agomove flat volume logic into the core. while doing so add n_volume_steps field to...
Lennart Poettering [Tue, 27 Jan 2009 03:39:07 +0000 (04:39 +0100)]
move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources

15 years agofix size calculation
Lennart Poettering [Tue, 27 Jan 2009 03:35:11 +0000 (04:35 +0100)]
fix size calculation

15 years agoget rid of module-flat-volumes since we are moving this into the core
Lennart Poettering [Tue, 27 Jan 2009 03:29:25 +0000 (04:29 +0100)]
get rid of module-flat-volumes since we are moving this into the core

15 years agoallow samples to be played with 'default' (i.e. unspecified) volume.
Lennart Poettering [Tue, 27 Jan 2009 02:05:40 +0000 (03:05 +0100)]
allow samples to be played with 'default' (i.e. unspecified) volume.

15 years agoswap argument order of pa_cvolume_get_balance() to be a bit more systematic
Lennart Poettering [Tue, 27 Jan 2009 01:45:37 +0000 (02:45 +0100)]
swap argument order of pa_cvolume_get_balance() to be a bit more systematic

15 years agoadd a few missing doxygen comments
Lennart Poettering [Tue, 27 Jan 2009 01:37:13 +0000 (02:37 +0100)]
add a few missing doxygen comments

15 years agoimport version.h in all header files to make sure that version-based feature testing...
Lennart Poettering [Tue, 27 Jan 2009 01:36:42 +0000 (02:36 +0100)]
import version.h in all header files to make sure that version-based feature testing works

15 years agoalways define PA_MAJOR/PA_MINOR/PA_MICRO to ease feature checking in client applications
Lennart Poettering [Tue, 27 Jan 2009 01:16:20 +0000 (02:16 +0100)]
always define PA_MAJOR/PA_MINOR/PA_MICRO to ease feature checking in client applications

15 years agoinvert an ill-placed assert
Lennart Poettering [Mon, 26 Jan 2009 23:56:57 +0000 (00:56 +0100)]
invert an ill-placed assert

15 years agoshow pretty channel map name if possible
Lennart Poettering [Mon, 26 Jan 2009 23:55:35 +0000 (00:55 +0100)]
show pretty channel map name if possible

15 years agoremove redundant cast
Lennart Poettering [Mon, 26 Jan 2009 23:53:31 +0000 (00:53 +0100)]
remove redundant cast

15 years agostore requested resampling method in a seperate field and use it when create a new...
Lennart Poettering [Mon, 26 Jan 2009 23:52:28 +0000 (00:52 +0100)]
store requested resampling method in a seperate field and use it when create a new resampler after a move

15 years agomake a few comments appear in doxygen
Lennart Poettering [Mon, 26 Jan 2009 23:49:58 +0000 (00:49 +0100)]
make a few comments appear in doxygen

15 years agocheck for availability of RLIMIT_NOFILE and RLIMIT_AS before we make use of it
Lennart Poettering [Mon, 26 Jan 2009 23:48:53 +0000 (00:48 +0100)]
check for availability of RLIMIT_NOFILE and RLIMIT_AS before we make use of it

15 years agoimplement pa_cvolume_scale()
Lennart Poettering [Mon, 26 Jan 2009 23:47:07 +0000 (00:47 +0100)]
implement pa_cvolume_scale()

15 years agoimplement new API functions pa_channel_map_can_balance(), pa_channel_map_to_name...
Lennart Poettering [Mon, 26 Jan 2009 23:46:39 +0000 (00:46 +0100)]
implement new API functions pa_channel_map_can_balance(), pa_channel_map_to_name() and pa_channel_map_to_pretty_name()

15 years agoadd a bitset implementation
Lennart Poettering [Mon, 26 Jan 2009 23:44:45 +0000 (00:44 +0100)]
add a bitset implementation

15 years agoUpdated Chinese(zh_CN) translation.
Wang Zeguo [Sat, 24 Jan 2009 04:49:17 +0000 (04:49 +0000)]
Updated Chinese(zh_CN) translation.

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

15 years agorate limit a warning
Lennart Poettering [Sat, 24 Jan 2009 00:36:43 +0000 (01:36 +0100)]
rate limit a warning

15 years agoinclude a few HAL properties in our card/sink/source properties for ALSA devices
Lennart Poettering [Sat, 24 Jan 2009 00:25:11 +0000 (01:25 +0100)]
include a few HAL properties in our card/sink/source properties for ALSA devices

15 years agouse pa_log_ratelimit() at a few places
Lennart Poettering [Fri, 23 Jan 2009 23:12:12 +0000 (00:12 +0100)]
use pa_log_ratelimit() at a few places

15 years agoadd pa_log_rate_limit()
Lennart Poettering [Fri, 23 Jan 2009 22:58:57 +0000 (23:58 +0100)]
add pa_log_rate_limit()

15 years agoadd generic rate limiting implementation
Lennart Poettering [Fri, 23 Jan 2009 22:58:36 +0000 (23:58 +0100)]
add generic rate limiting implementation

15 years agoadd support for static mutexes
Lennart Poettering [Fri, 23 Jan 2009 22:57:47 +0000 (23:57 +0100)]
add support for static mutexes

15 years agomake module-alsa-card move streams between the old and new sink/source, allowing...
Lennart Poettering [Fri, 23 Jan 2009 21:40:32 +0000 (22:40 +0100)]
make module-alsa-card move streams between the old and new sink/source, allowing 'hot' switching between profiles

15 years agoadd functions to move all inputs of a sink away/similar for source outputs
Lennart Poettering [Fri, 23 Jan 2009 21:40:02 +0000 (22:40 +0100)]
add functions to move all inputs of a sink away/similar for source outputs

15 years agomove sink input/source output move functions into two parts so that we can start...
Lennart Poettering [Fri, 23 Jan 2009 21:38:30 +0000 (22:38 +0100)]
move sink input/source output move functions into two parts so that we can start the move, delete the original sink, create a new sink, finish the move; similar for source outputs

15 years agoin most cases we can use i->core instead of i->sink->core and o->coure instead of...
Lennart Poettering [Fri, 23 Jan 2009 21:35:19 +0000 (22:35 +0100)]
in most cases we can use i->core instead of i->sink->core and o->coure instead of o->source->core

15 years agoinclude list of sinks/source in card dump
Lennart Poettering [Fri, 23 Jan 2009 21:30:31 +0000 (22:30 +0100)]
include list of sinks/source in card dump

15 years agoteach module-rescue-streams and module-always-sink to not do anything if we are shutt...
Lennart Poettering [Fri, 23 Jan 2009 21:30:02 +0000 (22:30 +0100)]
teach module-rescue-streams and module-always-sink to not do anything if we are shutting down anyway

15 years agomaintain a pa_core state variable
Lennart Poettering [Fri, 23 Jan 2009 21:29:02 +0000 (22:29 +0100)]
maintain a pa_core state variable

15 years agoallow sample spec/channel map to be queried for pa_resampler objects
Lennart Poettering [Fri, 23 Jan 2009 21:28:11 +0000 (22:28 +0100)]
allow sample spec/channel map to be queried for pa_resampler objects

15 years agodrop --ltdl from the libtoolize invocation, since we don't ship ltdl anymore
Lennart Poettering [Fri, 23 Jan 2009 18:50:47 +0000 (19:50 +0100)]
drop --ltdl from the libtoolize invocation, since we don't ship ltdl anymore

15 years agoMerge commit 'flameeyes/flameeyes'
Lennart Poettering [Fri, 23 Jan 2009 18:46:52 +0000 (19:46 +0100)]
Merge commit 'flameeyes/flameeyes'

15 years agoadd a simple abstraction for SIMD operations
Lennart Poettering [Fri, 23 Jan 2009 18:45:11 +0000 (19:45 +0100)]
add a simple abstraction for SIMD operations

15 years agodon't overflow when we do digital amplification of 16 bit samples
Lennart Poettering [Fri, 23 Jan 2009 18:40:01 +0000 (19:40 +0100)]
don't overflow when we do digital amplification of 16 bit samples

15 years agoUpdated Spanich translation
daniel cabrera [Fri, 23 Jan 2009 11:42:00 +0000 (11:42 +0000)]
Updated Spanich translation

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

15 years agoUse #ifdef to avoid warning about undefined macro.
Diego E. 'Flameeyes' Pettenò [Thu, 22 Jan 2009 22:38:07 +0000 (23:38 +0100)]
Use #ifdef to avoid warning about undefined macro.

15 years agouse pthread_setaffinity_np() only when it is available
Lennart Poettering [Thu, 22 Jan 2009 21:50:03 +0000 (22:50 +0100)]
use pthread_setaffinity_np() only when it is available

15 years agoImprove the ltdl discovery code by checking for libtool 2.x functions.
Diego E. 'Flameeyes' Pettenò [Thu, 22 Jan 2009 19:02:42 +0000 (20:02 +0100)]
Improve the ltdl discovery code by checking for libtool 2.x functions.

The lt_dladvise_* interfaces are implemented only in the 2.x series and are
not implemented in 1.4, so we can rely on their presence to know that the
version is good enough.

15 years agoMove the safety check about pkg-config in bootstrap.sh.
Diego E. 'Flameeyes' Pettenò [Thu, 22 Jan 2009 15:52:41 +0000 (16:52 +0100)]
Move the safety check about pkg-config in bootstrap.sh.

Don't check twice for pkg-config during configure, since the undefined
macro would be possibly caused on a different system.

15 years agoFix logic thinko.
Diego E. 'Flameeyes' Pettenò [Thu, 22 Jan 2009 15:41:45 +0000 (16:41 +0100)]
Fix logic thinko.

15 years agoRemove support for internal distributing and bundling of libltdl.
Diego E. 'Flameeyes' Pettenò [Thu, 22 Jan 2009 15:37:40 +0000 (16:37 +0100)]
Remove support for internal distributing and bundling of libltdl.

Standing to what the libtool documentation says, the LTDL_INIT macro and
the related configure options are only useful when intending to distribute
libltdl, and is superfluous if the system copy were always to be used.

Which makes it very easy to just drop the internal copy and use the system
library, just do it like any other library lacking pkg-config files to
identify its presence.

If this tries to build against an older libtool version it might fail at
link time, so for now this is not an user-proof solution. But it at least
should provide a working environment for packagers.

15 years agoNetBSD sometimes doesn't know SNDCTL_DSP_GETODELAY
Jared D. McNeill [Thu, 22 Jan 2009 01:24:04 +0000 (02:24 +0100)]
NetBSD sometimes doesn't know SNDCTL_DSP_GETODELAY

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agomake rtstutter use pa_ncpus()
Lennart Poettering [Thu, 22 Jan 2009 01:20:00 +0000 (02:20 +0100)]
make rtstutter use pa_ncpus()

15 years agoadd API pa_ncpus()
Lennart Poettering [Thu, 22 Jan 2009 01:16:53 +0000 (02:16 +0100)]
add API pa_ncpus()

15 years agoNetBSD doesn't know getgrnam_r()/getpwnam_r()
Jared D. McNeill [Thu, 22 Jan 2009 01:15:50 +0000 (02:15 +0100)]
NetBSD doesn't know getgrnam_r()/getpwnam_r()

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoNetBSD doesn't know ENOLINK
Jared D. McNeill [Thu, 22 Jan 2009 00:57:52 +0000 (01:57 +0100)]
NetBSD doesn't know ENOLINK

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoIt is more portable to assume that SO_RCVBUF/SO_SNDBUF takes and int instead of a...
Jared D. McNeill [Thu, 22 Jan 2009 00:55:21 +0000 (01:55 +0100)]
It is more portable to assume that SO_RCVBUF/SO_SNDBUF takes and int instead of a size_t

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoNetBSD specific atomic operation implementation
Jared D. McNeill [Thu, 22 Jan 2009 00:52:35 +0000 (01:52 +0100)]
NetBSD specific atomic operation implementation

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoNetBSD doesn't know RLIMIT_AS
Jared D. McNeill [Thu, 22 Jan 2009 00:39:54 +0000 (01:39 +0100)]
NetBSD doesn't know RLIMIT_AS

Signed-off-by: Lennart Poettering <lennart@poettering.net>