Commit graph

1085 commits

Author SHA1 Message Date
Lennart Poettering
e47d03dea4 implement PA_STREAM_FAIL_ON_SUSPEND logic 2009-02-03 02:23:46 +01:00
Lennart Poettering
c61ad2a706 make iterating with pa_idxset_next() robust in regards to idxset modifications 2009-02-03 02:15:36 +01:00
Lennart Poettering
e412f1cde3 whitespace cleanup 2009-02-02 01:54:09 +01:00
Lennart Poettering
2854afbb1b fix soft_mute handling 2009-02-02 01:51:27 +01:00
Lennart Poettering
537424a9a9 reset rewind_requested when we enter suspend mode 2009-02-02 00:46:11 +01:00
Lennart Poettering
a9e9ab32a2 shortcut pa_sink_process_rewind() when no rewind is happenning and none was requested 2009-02-02 00:45:54 +01:00
Lennart Poettering
5fc11a0724 Fix a few sink/source calls when they are called in suspended state. 2009-02-02 00:45:00 +01:00
Lennart Poettering
16e369498c set PA_PROP_WINDOW_X11_DISPLAY from :0.0 and initialize PA_PROP_APPLICATION_PROCESS_MACHINE_ID properly 2009-02-02 00:28:55 +01:00
Lennart Poettering
8ccc9aa665 try to use glib's g_get_application_name() to set PA_PROP_APPLICATION_NAME 2009-02-02 00:28:37 +01:00
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