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
Lennart Poettering [Wed, 21 Jan 2009 23:22:46 +0000 (00:22 +0100)]
make gcc shut up
Lennart Poettering [Wed, 21 Jan 2009 23:22:29 +0000 (00:22 +0100)]
fix segfault when in record-only mode
Lennart Poettering [Wed, 21 Jan 2009 23:20:15 +0000 (00:20 +0100)]
only reread volume if we actually have a good mixer. Closes #466
Lennart Poettering [Wed, 21 Jan 2009 23:19:04 +0000 (00:19 +0100)]
make gcc shut up a bit more
Lennart Poettering [Wed, 21 Jan 2009 23:17:55 +0000 (00:17 +0100)]
fix copy'n'paste error
Lennart Poettering [Wed, 21 Jan 2009 23:17:31 +0000 (00:17 +0100)]
add new function pa_strna
Lennart Poettering [Wed, 21 Jan 2009 23:17:11 +0000 (00:17 +0100)]
add new function pa_card_suspend()
Lennart Poettering [Wed, 21 Jan 2009 23:16:28 +0000 (00:16 +0100)]
mark a few more ALSA dB values as 'valid' for valgrind
Lennart Poettering [Wed, 21 Jan 2009 23:15:19 +0000 (00:15 +0100)]
don't include full path in driver name.
Lennart Poettering [Wed, 21 Jan 2009 23:11:58 +0000 (00:11 +0100)]
require autoconf 2.63
Lennart Poettering [Wed, 21 Jan 2009 02:04:19 +0000 (03:04 +0100)]
implement pactl set-card-profile
Lennart Poettering [Wed, 21 Jan 2009 02:04:04 +0000 (03:04 +0100)]
implement PA_COMMAND_SET_CARD_PROFILE
Lennart Poettering [Wed, 21 Jan 2009 01:50:29 +0000 (02:50 +0100)]
enable module-card-restore by default
Lennart Poettering [Wed, 21 Jan 2009 01:49:42 +0000 (02:49 +0100)]
add a card profile restore module
Lennart Poettering [Wed, 21 Jan 2009 01:47:49 +0000 (02:47 +0100)]
minor cleanups
Lennart Poettering [Wed, 21 Jan 2009 01:47:26 +0000 (02:47 +0100)]
don't restore mute/volume when already set
Lennart Poettering [Wed, 21 Jan 2009 01:46:36 +0000 (02:46 +0100)]
make pa_card_new_data::active_profile a string
Lennart Poettering [Wed, 21 Jan 2009 01:02:30 +0000 (02:02 +0100)]
make implementation of module-alsa-card complete
Lennart Poettering [Wed, 21 Jan 2009 01:01:44 +0000 (02:01 +0100)]
fill in dev_id properly
Lennart Poettering [Wed, 21 Jan 2009 00:59:59 +0000 (01:59 +0100)]
remove leftover define
Lennart Poettering [Wed, 21 Jan 2009 00:59:15 +0000 (01:59 +0100)]
when changing profiles do the actual assignment in the generic implementation
Lennart Poettering [Wed, 21 Jan 2009 00:55:26 +0000 (01:55 +0100)]
remove bogus pa_core_check_idle() call
Lennart Poettering [Wed, 21 Jan 2009 00:54:14 +0000 (01:54 +0100)]
add set-card-profile CLI command
Lennart Poettering [Wed, 21 Jan 2009 00:53:09 +0000 (01:53 +0100)]
allow cards be referenced by their index
Lennart Poettering [Wed, 21 Jan 2009 00:52:10 +0000 (01:52 +0100)]
fix copy/paste error