Lennart Poettering
ccd21f33cf
make a few comments appear in doxygen
2009-01-27 00:49:58 +01:00
Lennart Poettering
3bcbe1d18f
check for availability of RLIMIT_NOFILE and RLIMIT_AS before we make use of it
2009-01-27 00:48:53 +01:00
Lennart Poettering
4e31e00b63
implement pa_cvolume_scale()
2009-01-27 00:47:07 +01:00
Lennart Poettering
e52c5ea68a
implement new API functions pa_channel_map_can_balance(), pa_channel_map_to_name() and pa_channel_map_to_pretty_name()
2009-01-27 00:46:39 +01:00
Lennart Poettering
24b3a743bd
add a bitset implementation
2009-01-27 00:44:45 +01:00
Lennart Poettering
afd817a0b6
rate limit a warning
2009-01-24 01:36:43 +01:00
Lennart Poettering
a365c8212d
include a few HAL properties in our card/sink/source properties for ALSA devices
2009-01-24 01:25:11 +01:00
Lennart Poettering
54dad91f07
use pa_log_ratelimit() at a few places
2009-01-24 00:12:12 +01:00
Lennart Poettering
77c4ccfcaf
add pa_log_rate_limit()
2009-01-23 23:58:57 +01:00
Lennart Poettering
3dfe70cf78
add generic rate limiting implementation
2009-01-23 23:58:36 +01:00
Lennart Poettering
e960125011
add support for static mutexes
2009-01-23 23:57:47 +01:00
Lennart Poettering
db27c6347e
make module-alsa-card move streams between the old and new sink/source, allowing 'hot' switching between profiles
2009-01-23 22:40:32 +01:00
Lennart Poettering
640d317df9
add functions to move all inputs of a sink away/similar for source outputs
2009-01-23 22:40:02 +01:00
Lennart Poettering
29cb778dcc
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
2009-01-23 22:38:30 +01:00
Lennart Poettering
cf24b57279
in most cases we can use i->core instead of i->sink->core and o->coure instead of o->source->core
2009-01-23 22:35:19 +01:00
Lennart Poettering
d5e088ded7
include list of sinks/source in card dump
2009-01-23 22:30:31 +01:00
Lennart Poettering
967c17a190
teach module-rescue-streams and module-always-sink to not do anything if we are shutting down anyway
2009-01-23 22:30:02 +01:00
Lennart Poettering
a3162a396e
maintain a pa_core state variable
2009-01-23 22:29:02 +01:00
Lennart Poettering
88c9f9fba6
allow sample spec/channel map to be queried for pa_resampler objects
2009-01-23 22:28:11 +01:00
Lennart Poettering
7bdbcd0da8
drop --ltdl from the libtoolize invocation, since we don't ship ltdl anymore
2009-01-23 19:50:47 +01:00
Lennart Poettering
f6fcbed6d0
Merge commit 'flameeyes/flameeyes'
2009-01-23 19:46:52 +01:00
Lennart Poettering
5cb29f3a60
add a simple abstraction for SIMD operations
2009-01-23 19:45:11 +01:00
Lennart Poettering
2a238b2d7f
don't overflow when we do digital amplification of 16 bit samples
2009-01-23 19:40:01 +01:00
Diego E. 'Flameeyes' Pettenò
3e5d9fd37a
Use #ifdef to avoid warning about undefined macro.
2009-01-22 23:38:58 +01:00
Lennart Poettering
ddbe6126d3
use pthread_setaffinity_np() only when it is available
2009-01-22 22:50:03 +01:00
Diego E. 'Flameeyes' Pettenò
a257448ceb
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.
2009-01-22 20:02:42 +01:00
Diego E. 'Flameeyes' Pettenò
3293251198
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.
2009-01-22 16:52:41 +01:00
Diego E. 'Flameeyes' Pettenò
1b20d287b9
Fix logic thinko.
2009-01-22 16:41:45 +01:00
Diego E. 'Flameeyes' Pettenò
c65d3a9fb0
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.
2009-01-22 16:37:40 +01:00
Jared D. McNeill
7c7133e09d
NetBSD sometimes doesn't know SNDCTL_DSP_GETODELAY
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 02:24:04 +01:00
Lennart Poettering
cef5f48b50
make rtstutter use pa_ncpus()
2009-01-22 02:20:00 +01:00
Lennart Poettering
4dc1916467
add API pa_ncpus()
2009-01-22 02:17:19 +01:00
Jared D. McNeill
c0e4e5a868
NetBSD doesn't know getgrnam_r()/getpwnam_r()
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 02:17:10 +01:00
Jared D. McNeill
61075a78f7
NetBSD doesn't know ENOLINK
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:57:52 +01:00
Jared D. McNeill
ca6b79141b
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>
2009-01-22 01:55:21 +01:00
Jared D. McNeill
8d89ccdcf2
NetBSD specific atomic operation implementation
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:52:35 +01:00
Jared D. McNeill
cc425ed260
NetBSD doesn't know RLIMIT_AS
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:39:54 +01:00
Jared D. McNeill
75eeea65bd
NetBSD needs to include sys/uio.h for some socket functions
...
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:37:38 +01:00
Lennart Poettering
bb23932e9a
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.
2009-01-22 01:15:49 +01:00
Lennart Poettering
3be4c31ee0
rework module-hal-detect and make it use module-alsa-card instead of module-alsa-sink/-source
2009-01-22 00:26:34 +01:00
Lennart Poettering
b2ef19acc5
include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up
2009-01-22 00:26:34 +01:00
Lennart Poettering
4b2a682741
fix minor memleak in prober
2009-01-22 00:26:34 +01:00
Lennart Poettering
b606c0940a
rework logic how alsa sinks/sources/cards are named
2009-01-22 00:26:34 +01:00
Lennart Poettering
7c11554daa
make gcc shut up
2009-01-22 00:26:34 +01:00
Lennart Poettering
1c84251ec5
fix segfault when in record-only mode
2009-01-22 00:26:34 +01:00
Lennart Poettering
8519f54a0e
only reread volume if we actually have a good mixer. Closes #466
2009-01-22 00:26:29 +01:00
Lennart Poettering
40f2e21aa7
make gcc shut up a bit more
2009-01-22 00:19:04 +01:00
Lennart Poettering
a5c9546fc7
fix copy'n'paste error
2009-01-22 00:17:55 +01:00
Lennart Poettering
251f720b05
add new function pa_strna
2009-01-22 00:17:31 +01:00
Lennart Poettering
36362f624f
add new function pa_card_suspend()
2009-01-22 00:17:11 +01:00