]> code.delx.au - pulseaudio/log
pulseaudio
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 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 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>
15 years agoNetBSD needs to include sys/uio.h for some socket functions
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>
15 years agoWhen resuming an OSS device ask for the very same fragment settings as we did the...
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.

15 years agorework module-hal-detect and make it use module-alsa-card instead of module-alsa...
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

15 years agoinclude PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up
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

15 years agofix minor memleak in prober
Lennart Poettering [Wed, 21 Jan 2009 23:24:28 +0000 (00:24 +0100)]
fix minor memleak in prober

15 years agorework logic how alsa sinks/sources/cards are named
Lennart Poettering [Wed, 21 Jan 2009 23:24:13 +0000 (00:24 +0100)]
rework logic how alsa sinks/sources/cards are named

15 years agomake gcc shut up
Lennart Poettering [Wed, 21 Jan 2009 23:22:46 +0000 (00:22 +0100)]
make gcc shut up

15 years agofix segfault when in record-only mode
Lennart Poettering [Wed, 21 Jan 2009 23:22:29 +0000 (00:22 +0100)]
fix segfault when in record-only mode

15 years agoonly reread volume if we actually have a good mixer. Closes #466
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

15 years agomake gcc shut up a bit more
Lennart Poettering [Wed, 21 Jan 2009 23:19:04 +0000 (00:19 +0100)]
make gcc shut up a bit more

15 years agofix copy'n'paste error
Lennart Poettering [Wed, 21 Jan 2009 23:17:55 +0000 (00:17 +0100)]
fix copy'n'paste error

15 years agoadd new function pa_strna
Lennart Poettering [Wed, 21 Jan 2009 23:17:31 +0000 (00:17 +0100)]
add new function pa_strna

15 years agoadd new function pa_card_suspend()
Lennart Poettering [Wed, 21 Jan 2009 23:17:11 +0000 (00:17 +0100)]
add new function pa_card_suspend()

15 years agomark a few more ALSA dB values as 'valid' for valgrind
Lennart Poettering [Wed, 21 Jan 2009 23:16:28 +0000 (00:16 +0100)]
mark a few more ALSA dB values as 'valid' for valgrind

15 years agodon't include full path in driver name.
Lennart Poettering [Wed, 21 Jan 2009 23:15:19 +0000 (00:15 +0100)]
don't include full path in driver name.

15 years agorequire autoconf 2.63
Lennart Poettering [Wed, 21 Jan 2009 23:11:58 +0000 (00:11 +0100)]
require autoconf 2.63

15 years agoimplement pactl set-card-profile
Lennart Poettering [Wed, 21 Jan 2009 02:04:19 +0000 (03:04 +0100)]
implement pactl set-card-profile

15 years agoimplement PA_COMMAND_SET_CARD_PROFILE
Lennart Poettering [Wed, 21 Jan 2009 02:04:04 +0000 (03:04 +0100)]
implement PA_COMMAND_SET_CARD_PROFILE

15 years agoenable module-card-restore by default
Lennart Poettering [Wed, 21 Jan 2009 01:50:29 +0000 (02:50 +0100)]
enable module-card-restore by default

15 years agoadd a card profile restore module
Lennart Poettering [Wed, 21 Jan 2009 01:49:42 +0000 (02:49 +0100)]
add a card profile restore module

15 years agominor cleanups
Lennart Poettering [Wed, 21 Jan 2009 01:47:49 +0000 (02:47 +0100)]
minor cleanups

15 years agodon't restore mute/volume when already set
Lennart Poettering [Wed, 21 Jan 2009 01:47:26 +0000 (02:47 +0100)]
don't restore mute/volume when already set

15 years agomake pa_card_new_data::active_profile a string
Lennart Poettering [Wed, 21 Jan 2009 01:46:36 +0000 (02:46 +0100)]
make pa_card_new_data::active_profile a string

15 years agomake implementation of module-alsa-card complete
Lennart Poettering [Wed, 21 Jan 2009 01:02:30 +0000 (02:02 +0100)]
make implementation of module-alsa-card complete

15 years agofill in dev_id properly
Lennart Poettering [Wed, 21 Jan 2009 01:01:44 +0000 (02:01 +0100)]
fill in dev_id properly

15 years agoremove leftover define
Lennart Poettering [Wed, 21 Jan 2009 00:59:59 +0000 (01:59 +0100)]
remove leftover define

15 years agowhen changing profiles do the actual assignment in the generic implementation
Lennart Poettering [Wed, 21 Jan 2009 00:59:15 +0000 (01:59 +0100)]
when changing profiles do the actual assignment in the generic implementation

15 years agoremove bogus pa_core_check_idle() call
Lennart Poettering [Wed, 21 Jan 2009 00:55:26 +0000 (01:55 +0100)]
remove bogus pa_core_check_idle() call

15 years agoadd set-card-profile CLI command
Lennart Poettering [Wed, 21 Jan 2009 00:54:14 +0000 (01:54 +0100)]
add set-card-profile CLI command

15 years agoallow cards be referenced by their index
Lennart Poettering [Wed, 21 Jan 2009 00:53:09 +0000 (01:53 +0100)]
allow cards be referenced by their index

15 years agofix copy/paste error
Lennart Poettering [Wed, 21 Jan 2009 00:52:10 +0000 (01:52 +0100)]
fix copy/paste error

15 years agoadd an API to create arbitrary alsa sinks/sources dynamically without having to load...
Lennart Poettering [Tue, 20 Jan 2009 23:23:18 +0000 (00:23 +0100)]
add an API to create arbitrary alsa sinks/sources dynamically without having to load/unload modules

15 years agoadd new call pa_alsa_open_by_device_id_profile()
Lennart Poettering [Tue, 20 Jan 2009 20:36:57 +0000 (21:36 +0100)]
add new call pa_alsa_open_by_device_id_profile()

15 years agoexport pa_channel_map_superset()
Lennart Poettering [Tue, 20 Jan 2009 20:00:35 +0000 (21:00 +0100)]
export pa_channel_map_superset()

15 years agoadd priority logic to find best default profile
Lennart Poettering [Tue, 20 Jan 2009 19:35:18 +0000 (20:35 +0100)]
add priority logic to find best default profile

15 years agoalways add 'disabled' profile
Lennart Poettering [Tue, 20 Jan 2009 19:34:46 +0000 (20:34 +0100)]
always add 'disabled' profile

15 years agoremove unused variable
Lennart Poettering [Tue, 20 Jan 2009 19:33:47 +0000 (20:33 +0100)]
remove unused variable

15 years agoshow active profile
Lennart Poettering [Tue, 20 Jan 2009 19:33:28 +0000 (20:33 +0100)]
show active profile

15 years agoadd client API for querying card information
Lennart Poettering [Tue, 20 Jan 2009 02:25:29 +0000 (03:25 +0100)]
add client API for querying card information

15 years agodump active profile
Lennart Poettering [Tue, 20 Jan 2009 02:24:59 +0000 (03:24 +0100)]
dump active profile

15 years agofix destruction when no profiles are defined
Lennart Poettering [Tue, 20 Jan 2009 02:24:40 +0000 (03:24 +0100)]
fix destruction when no profiles are defined

15 years agodon't divide by zero if no left resp. no right channels are defined
Lennart Poettering [Tue, 20 Jan 2009 02:24:11 +0000 (03:24 +0100)]
don't divide by zero if no left resp. no right channels are defined

15 years agofix profile names to include input/output specifier
Lennart Poettering [Tue, 20 Jan 2009 02:23:32 +0000 (03:23 +0100)]
fix profile names to include input/output specifier

15 years agoadd missing eof checks
Lennart Poettering [Tue, 20 Jan 2009 01:15:43 +0000 (02:15 +0100)]
add missing eof checks

15 years agoMerge commit 'flameeyes/buildfixes-2'
Lennart Poettering [Mon, 19 Jan 2009 23:55:36 +0000 (00:55 +0100)]
Merge commit 'flameeyes/buildfixes-2'

15 years agoInclude the alsa/ subdirectory for modules in the search path.
Diego E. 'Flameeyes' Pettenò [Mon, 19 Jan 2009 23:55:42 +0000 (00:55 +0100)]
Include the alsa/ subdirectory for modules in the search path.

Without this, out of tree builds fails.

15 years agoAllow to opt-out from building tests.
Diego E. 'Flameeyes' Pettenò [Mon, 19 Jan 2009 23:55:39 +0000 (00:55 +0100)]
Allow to opt-out from building tests.

Since the tests are only useful either if you're hacking at pulseaudio as
a developer, or when running "make check", allow users to opt-out from
their build.

This for instance allows for Gentoo users not to build the tests when
installing the ebuild with tests disabled, and also allow for skipping over
eventually broken tests when trying to get the basic build going on a port.

15 years agodocument that I am a retard
Lennart Poettering [Mon, 19 Jan 2009 23:49:45 +0000 (00:49 +0100)]
document that I am a retard

15 years agoremove misplaced whitespace
Lennart Poettering [Mon, 19 Jan 2009 23:14:50 +0000 (00:14 +0100)]
remove misplaced whitespace

15 years agoinclude sink/source state in pactl output
Lennart Poettering [Mon, 19 Jan 2009 22:55:22 +0000 (23:55 +0100)]
include sink/source state in pactl output

15 years agoDocument explicitly that the internal sink/source states are not considered part...
Lennart Poettering [Mon, 19 Jan 2009 22:54:44 +0000 (23:54 +0100)]
Document explicitly that the internal sink/source states are not considered part of the ABI/API