Lennart Poettering [Sun, 1 Feb 2009 23:20:57 +0000 (00:20 +0100)]
work around dlsym() return value mistyping as suggested in POSIX
Lennart Poettering [Sun, 1 Feb 2009 23:20:05 +0000 (00:20 +0100)]
use uintpr_t when casting between pointers and integers
Lennart Poettering [Sun, 1 Feb 2009 23:19:26 +0000 (00:19 +0100)]
check for NULL before accessing the name
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
Lennart Poettering [Sun, 1 Feb 2009 23:17:58 +0000 (00:17 +0100)]
look for libpulse in multiple different places
Lennart Poettering [Sat, 31 Jan 2009 00:17:09 +0000 (01:17 +0100)]
implement pa_channel_map_can_fade
Lennart Poettering [Sat, 31 Jan 2009 00:16:16 +0000 (01:16 +0100)]
drop -Wpacked
Lennart Poettering [Fri, 30 Jan 2009 03:28:05 +0000 (04:28 +0100)]
Merge branch 'master' into lennartsbtfixes
Lennart Poettering [Fri, 30 Jan 2009 01:25:49 +0000 (02:25 +0100)]
dump properties when we create a new sink or source
Lennart Poettering [Fri, 30 Jan 2009 01:25:22 +0000 (02:25 +0100)]
suppress lines made up only of whitespace
Lennart Poettering [Fri, 30 Jan 2009 01:24:58 +0000 (02:24 +0100)]
include ALSA driver in properties for cards/sink
Lennart Poettering [Fri, 30 Jan 2009 01:24:40 +0000 (02:24 +0100)]
add new function pa_alsa_get_driver_name()
Lennart Poettering [Thu, 29 Jan 2009 23:31:03 +0000 (00:31 +0100)]
Merge branch 'master' into lennartsbtfixes
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
Lennart Poettering [Thu, 29 Jan 2009 23:15:40 +0000 (00:15 +0100)]
implement pa_cvolume_{get|set}_fade
Lennart Poettering [Thu, 29 Jan 2009 23:14:50 +0000 (00:14 +0100)]
fix a bogus assert
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
Lennart Poettering [Thu, 29 Jan 2009 19:30:42 +0000 (20:30 +0100)]
add missing files
Lennart Poettering [Thu, 29 Jan 2009 15:27:27 +0000 (16:27 +0100)]
temporary commit of lennarts new bt changes
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
Lennart Poettering [Thu, 29 Jan 2009 15:25:29 +0000 (16:25 +0100)]
get rid of nonsensical late initialization of namereg/scache and things
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
Lennart Poettering [Thu, 29 Jan 2009 02:30:50 +0000 (03:30 +0100)]
add new functions pa_dbus_add_matches()/pa_dbus_remove_matches()
Lennart Poettering [Wed, 28 Jan 2009 03:49:07 +0000 (04:49 +0100)]
make things compile again
Lennart Poettering [Wed, 28 Jan 2009 03:39:42 +0000 (04:39 +0100)]
Run make update-po
Lennart Poettering [Wed, 28 Jan 2009 03:25:07 +0000 (04:25 +0100)]
Merge commit 'origin/master-tx'
Lennart Poettering [Wed, 28 Jan 2009 03:22:51 +0000 (04:22 +0100)]
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
Lennart Poettering [Wed, 28 Jan 2009 00:39:19 +0000 (01:39 +0100)]
fix two typos
Lennart Poettering [Wed, 28 Jan 2009 00:31:54 +0000 (01:31 +0100)]
print the right software volume
Marc-André Lureau [Mon, 19 Jan 2009 17:58:41 +0000 (19:58 +0200)]
bluetooth: cold hsp/a2dp device detection
Marc-André Lureau [Mon, 19 Jan 2009 12:53:35 +0000 (14:53 +0200)]
bluetooth: hsp volume control
Lennart Poettering [Tue, 27 Jan 2009 23:25:50 +0000 (00:25 +0100)]
Merge commit 'coling/master'
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
Lennart Poettering [Tue, 27 Jan 2009 23:19:47 +0000 (00:19 +0100)]
add missing usage strings
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.
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
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
Lennart Poettering [Tue, 27 Jan 2009 22:52:35 +0000 (23:52 +0100)]
make m-p-e-s use pa_cvolume_set_balance()
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
Lennart Poettering [Tue, 27 Jan 2009 22:35:55 +0000 (23:35 +0100)]
when changing volume, store whether it is worth remembering or no
Lennart Poettering [Tue, 27 Jan 2009 21:49:02 +0000 (22:49 +0100)]
add missing 'const'
Lennart Poettering [Tue, 27 Jan 2009 16:55:50 +0000 (17:55 +0100)]
add new paramter ignore_dB= to alsa modules
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
Lennart Poettering [Tue, 27 Jan 2009 03:35:11 +0000 (04:35 +0100)]
fix size calculation
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
Lennart Poettering [Tue, 27 Jan 2009 02:05:40 +0000 (03:05 +0100)]
allow samples to be played with 'default' (i.e. unspecified) volume.
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
Lennart Poettering [Tue, 27 Jan 2009 01:37:13 +0000 (02:37 +0100)]
add a few missing doxygen comments
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
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
Lennart Poettering [Mon, 26 Jan 2009 23:56:57 +0000 (00:56 +0100)]
invert an ill-placed assert
Lennart Poettering [Mon, 26 Jan 2009 23:55:35 +0000 (00:55 +0100)]
show pretty channel map name if possible
Lennart Poettering [Mon, 26 Jan 2009 23:53:31 +0000 (00:53 +0100)]
remove redundant cast
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
Lennart Poettering [Mon, 26 Jan 2009 23:49:58 +0000 (00:49 +0100)]
make a few comments appear in doxygen
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
Lennart Poettering [Mon, 26 Jan 2009 23:47:07 +0000 (00:47 +0100)]
implement pa_cvolume_scale()
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()
Lennart Poettering [Mon, 26 Jan 2009 23:44:45 +0000 (00:44 +0100)]
add a bitset implementation
Wang Zeguo [Sat, 24 Jan 2009 04:49:17 +0000 (04:49 +0000)]
Updated Chinese(zh_CN) translation.
Transmitted-via: Transifex (translate.fedoraproject.org)
Lennart Poettering [Sat, 24 Jan 2009 00:36:43 +0000 (01:36 +0100)]
rate limit a warning
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
Lennart Poettering [Fri, 23 Jan 2009 23:12:12 +0000 (00:12 +0100)]
use pa_log_ratelimit() at a few places
Lennart Poettering [Fri, 23 Jan 2009 22:58:57 +0000 (23:58 +0100)]
add pa_log_rate_limit()
Lennart Poettering [Fri, 23 Jan 2009 22:58:36 +0000 (23:58 +0100)]
add generic rate limiting implementation
Lennart Poettering [Fri, 23 Jan 2009 22:57:47 +0000 (23:57 +0100)]
add support for static mutexes
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
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
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
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
Lennart Poettering [Fri, 23 Jan 2009 21:30:31 +0000 (22:30 +0100)]
include list of sinks/source in card dump
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
Lennart Poettering [Fri, 23 Jan 2009 21:29:02 +0000 (22:29 +0100)]
maintain a pa_core state variable
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
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
Lennart Poettering [Fri, 23 Jan 2009 18:46:52 +0000 (19:46 +0100)]
Merge commit 'flameeyes/flameeyes'
Lennart Poettering [Fri, 23 Jan 2009 18:45:11 +0000 (19:45 +0100)]
add a simple abstraction for SIMD operations
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
daniel cabrera [Fri, 23 Jan 2009 11:42:00 +0000 (11:42 +0000)]
Updated Spanich translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Diego E. 'Flameeyes' Pettenò [Thu, 22 Jan 2009 22:38:07 +0000 (23:38 +0100)]
Use #ifdef to avoid warning about undefined macro.
Lennart Poettering [Thu, 22 Jan 2009 21:50:03 +0000 (22:50 +0100)]
use pthread_setaffinity_np() only when it is available
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.
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.
Diego E. 'Flameeyes' Pettenò [Thu, 22 Jan 2009 15:41:45 +0000 (16:41 +0100)]
Fix logic thinko.
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.
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>
Lennart Poettering [Thu, 22 Jan 2009 01:20:00 +0000 (02:20 +0100)]
make rtstutter use pa_ncpus()
Lennart Poettering [Thu, 22 Jan 2009 01:16:53 +0000 (02:16 +0100)]
add API pa_ncpus()
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>
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>
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>
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>
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>
Jared D. McNeill [Thu, 22 Jan 2009 00:37:19 +0000 (01:37 +0100)]
NetBSD needs to include sys/uio.h for some socket functions
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Lennart Poettering [Thu, 22 Jan 2009 00:15:49 +0000 (01:15 +0100)]
When resuming an OSS device ask for the very same fragment settings as we did the first time
In OSS it is only possible to request fragment sizes that are powers of
2. However actually selected fragment sizes may be arbitrary values.
This means that it is not always possible to request the same fragment
size after a suspend that was used before the suspend because we simply
cannot express it in the request. To work around that we should issue
the same request as we did the first time.
Lennart Poettering [Wed, 21 Jan 2009 23:26:16 +0000 (00:26 +0100)]
rework module-hal-detect and make it use module-alsa-card instead of module-alsa-sink/-source
Lennart Poettering [Wed, 21 Jan 2009 23:25:36 +0000 (00:25 +0100)]
include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up
Lennart Poettering [Wed, 21 Jan 2009 23:24:28 +0000 (00:24 +0100)]
fix minor memleak in prober
Lennart Poettering [Wed, 21 Jan 2009 23:24:13 +0000 (00:24 +0100)]
rework logic how alsa sinks/sources/cards are named