Commit graph

1460 commits

Author SHA1 Message Date
Lennart Poettering
87e134277d don't claim that profile changes are always successful 2009-02-12 22:09:17 +01:00
Lennart Poettering
1837a96e64 call _kill functions instead of _unlink since the latter should only be called be the stream implementor 2009-02-12 03:39:56 +01:00
Lennart Poettering
f0cc23d6e5 Merge commit 'elmarco/bt-wip' 2009-02-12 03:35:57 +01:00
Lennart Poettering
823431e447 allow sending meta/policy events to clients 2009-02-12 03:18:05 +01:00
Marc-André Lureau
86bec09fa8 pulsecore: add PA_CORE_HOOK_*_MOVE_FAIL
In case pa_*_move_all_fail(), it is nicer to let a module override the
default behavior to fallback on a different sink/source. (instead of
unlinking the sink_input/source_output)
2009-02-11 20:26:32 +02:00
Lennart Poettering
04c3c6716b A few MacOS X portability fixes
Based on patches contributed by "Tron".

See bug #478.
2009-02-06 00:25:47 +01:00
Lennart Poettering
d6201cfc3a parse ini-style sections properly 2009-02-05 04:11:26 +01:00
Lennart Poettering
ee5abc3d64 make native protocol use pa_{sink_input|source_output|card}_update_proplist() 2009-02-05 04:10:08 +01:00
Lennart Poettering
524d78fc7a add missing hook 2009-02-05 04:09:27 +01:00
Lennart Poettering
291589ecc1 allow overwriting of process properties with environment variables 2009-02-05 04:09:09 +01:00
Lennart Poettering
f42afc4883 make return value of pa_{sink_input|source_output}_update_proplist() void 2009-02-05 04:08:18 +01:00
Lennart Poettering
a67406db93 add pa_client_update_proplist() call 2009-02-05 04:06:50 +01:00
Lennart Poettering
63e234335f handle default volume initialization properly 2009-02-05 04:05:47 +01:00
Lennart Poettering
de86c6e3ad add a 'volume factor' that is implicitly multiplied into the volume of a sink input without being visible to the outside 2009-02-05 01:22:05 +01:00
Lennart Poettering
d802a76963 remove soft volume from pa_sink_input_new_info since it should be handled internally and automatically by the sink input 2009-02-04 18:34:08 +01:00
Lennart Poettering
b2c923e727 properly handle failing stream creation 2009-02-04 18:33:01 +01:00
Lennart Poettering
4cf82c74a1 merge in properties earlier to make identification of streams from hooks easier 2009-02-04 18:28:52 +01:00
Lennart Poettering
83ddc0936e add new calls pa_replace() and pa_unescape() 2009-02-04 17:19:15 +01:00
Lennart Poettering
a625ca7c74 make gcc shut up 2009-02-04 17:17:48 +01:00
Lennart Poettering
078a8d583f rearrange a few things 2009-02-04 17:17:32 +01:00
Lennart Poettering
d6dd907cc8 simplify code a bit by using pa_sample_size_of_format() 2009-02-04 17:16:53 +01:00
Lennart Poettering
9a27b8f0e8 in addition to per-property env vars PULSE_PROP_xxx look for for a stringified PULSE_PROP env var 2009-02-04 17:16:13 +01:00
Lennart Poettering
fc31d21353 when moving a sink between sinks make volume relative 2009-02-03 04:06:52 +01:00
Lennart Poettering
08800c35b0 make a couple of functions return proper error codes 2009-02-03 03:14:20 +01:00
Lennart Poettering
162e43b306 make a few functions return void where the retval isn't used/never != 0 2009-02-03 03:11:31 +01:00
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