Lennart Poettering
2a238b2d7f
don't overflow when we do digital amplification of 16 bit samples
2009-01-23 19:40:01 +01:00
daniel cabrera
5487bc6e31
Updated Spanich translation
...
Transmitted-via: Transifex (translate.fedoraproject.org)
2009-01-23 11:42:00 +00: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
Lennart Poettering
bdfec1feba
mark a few more ALSA dB values as 'valid' for valgrind
2009-01-22 00:16:28 +01:00
Lennart Poettering
0f7954a9f5
don't include full path in driver name.
2009-01-22 00:15:19 +01:00
Lennart Poettering
bf7217b6a5
require autoconf 2.63
2009-01-22 00:11:58 +01:00
Lennart Poettering
601293d346
implement pactl set-card-profile
2009-01-21 03:04:19 +01:00
Lennart Poettering
996bba7522
implement PA_COMMAND_SET_CARD_PROFILE
2009-01-21 03:04:04 +01:00
Lennart Poettering
1375a9a0c2
enable module-card-restore by default
2009-01-21 02:50:29 +01:00
Lennart Poettering
13315a7e4c
add a card profile restore module
2009-01-21 02:49:42 +01:00
Lennart Poettering
c512ebf4ab
minor cleanups
2009-01-21 02:47:49 +01:00
Lennart Poettering
10e5c70286
don't restore mute/volume when already set
2009-01-21 02:47:26 +01:00
Lennart Poettering
9661cd0444
make pa_card_new_data::active_profile a string
2009-01-21 02:46:36 +01:00
Lennart Poettering
e8f93b125e
make implementation of module-alsa-card complete
2009-01-21 02:02:30 +01:00
Lennart Poettering
7ca0e00a2c
fill in dev_id properly
2009-01-21 02:01:44 +01:00
Lennart Poettering
28f05e0435
remove leftover define
2009-01-21 01:59:59 +01:00
Lennart Poettering
cba4c6b9eb
when changing profiles do the actual assignment in the generic implementation
2009-01-21 01:59:15 +01:00
Lennart Poettering
1d0bd6e5b7
remove bogus pa_core_check_idle() call
2009-01-21 01:55:26 +01:00
Lennart Poettering
dc2a4bd887
add set-card-profile CLI command
2009-01-21 01:54:14 +01:00
Lennart Poettering
9a0dbda654
allow cards be referenced by their index
2009-01-21 01:53:09 +01:00
Lennart Poettering
b6b0e07c31
fix copy/paste error
2009-01-21 01:52:10 +01:00
Lennart Poettering
16d200e369
add an API to create arbitrary alsa sinks/sources dynamically without having to load/unload modules
2009-01-21 00:23:18 +01:00
Lennart Poettering
b88b89a676
add new call pa_alsa_open_by_device_id_profile()
2009-01-20 21:37:30 +01:00
Lennart Poettering
04e9214065
export pa_channel_map_superset()
2009-01-20 21:37:23 +01:00