Commit graph

826 commits

Author SHA1 Message Date
Lennart Poettering
8fbce6eb89 when determining the minimum volume of all sink inputs make sure to handle the case when there are no sink inputs correctly 2009-02-02 00:27:47 +01:00
Lennart Poettering
e0fd99b911 work around dlsym() return value mistyping as suggested in POSIX 2009-02-02 00:20:57 +01:00
Lennart Poettering
b092f2e0f8 use uintpr_t when casting between pointers and integers 2009-02-02 00:20:05 +01:00
Lennart Poettering
55f643d49e check for NULL before accessing the name 2009-02-02 00:19:26 +01:00
Lennart Poettering
dbb8951a41 dump properties when we create a new sink or source 2009-01-30 02:25:49 +01:00
Lennart Poettering
2557017178 suppress lines made up only of whitespace 2009-01-30 02:25:22 +01:00
Lennart Poettering
746dc2ac19 get rid of nonsensical late initialization of namereg/scache and things 2009-01-29 16:25:29 +01:00
Lennart Poettering
a5401a50a6 store the default sink/source in proper pa_sink*/pa_source* pointers instead of a string 2009-01-28 01:46:27 +01:00
Lennart Poettering
64b0543588 when changing volume, store whether it is worth remembering or no 2009-01-27 23:40:03 +01:00
Lennart Poettering
d5f46e824e move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources 2009-01-27 04:39:07 +01:00
Lennart Poettering
4bfa5d7d13 fix size calculation 2009-01-27 04:35:11 +01:00
Lennart Poettering
1be39e4fa5 allow samples to be played with 'default' (i.e. unspecified) volume. 2009-01-27 03:05:40 +01:00
Lennart Poettering
5449d793ae swap argument order of pa_cvolume_get_balance() to be a bit more systematic 2009-01-27 02:45:37 +01:00
Lennart Poettering
948be361c4 invert an ill-placed assert 2009-01-27 00:56:57 +01:00
Lennart Poettering
0658d9ae92 show pretty channel map name if possible 2009-01-27 00:55:35 +01:00
Lennart Poettering
9ba408415c store requested resampling method in a seperate field and use it when create a new resampler after a move 2009-01-27 00:52:28 +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
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
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
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
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
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
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
Lennart Poettering
7c11554daa make gcc shut up 2009-01-22 00:26:34 +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
0f7954a9f5 don't include full path in driver name. 2009-01-22 00:15:19 +01:00
Lennart Poettering
996bba7522 implement PA_COMMAND_SET_CARD_PROFILE 2009-01-21 03:04:04 +01:00
Lennart Poettering
9661cd0444 make pa_card_new_data::active_profile a string 2009-01-21 02:46:36 +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
7368a6e6be add priority logic to find best default profile 2009-01-20 20:35:18 +01:00
Lennart Poettering
e0f8c13012 remove unused variable 2009-01-20 20:33:47 +01:00
Lennart Poettering
a65c2c7336 add client API for querying card information 2009-01-20 03:25:29 +01:00
Lennart Poettering
85bc5eb39a dump active profile 2009-01-20 03:24:59 +01:00