Commit graph

948 commits

Author SHA1 Message Date
Lennart Poettering
7c37c37fff document more often the context certain functions are called in 2009-03-30 18:26:23 +02:00
Lennart Poettering
7f5481ede0 simplify latency config functions a bit and make them callable in more contexts 2009-03-30 18:23:48 +02:00
Lennart Poettering
d04f3e1aef Trigger move callback a little bit earlier so that no IO thread is running 2009-03-30 18:21:34 +02:00
Lennart Poettering
87d63b19a3 Small fix for MacOSX compat
Issue originally pointed out by Igor Zubkov.
2009-03-27 14:37:58 +01:00
Lennart Poettering
db714bfea6 fix typo 2009-03-27 00:06:15 +01:00
Lennart Poettering
3813034cef add missing initialization 2009-03-25 23:49:26 +01:00
Lennart Poettering
39576ec829 on monitor source be fine with any latency range set by the sink 2009-03-25 16:31:16 +01:00
Lennart Poettering
6defb1a6bf add missing whitespace 2009-03-25 16:30:46 +01:00
Lennart Poettering
2c1eaa7593 copy latency flags from sink to monitor source 2009-03-25 16:30:28 +01:00
Lennart Poettering
c367a885dc fix misplace _ref() calls that should have been _assert_ref() 2009-03-25 03:44:49 +01:00
Lennart Poettering
f6a6d01354 optionally skip initial frames in backtrace 2009-03-25 03:14:00 +01:00
Lennart Poettering
8460fac285 don't show full so path in backtrace 2009-03-25 02:50:57 +01:00
Lennart Poettering
e41ec51f1b add simple ref counting debugging framework 2009-03-25 02:42:18 +01:00
Lennart Poettering
577259bb15 trivial simplification 2009-03-25 02:39:41 +01:00
Lennart Poettering
892a83945e simplify things and make sure timing setters can be called in most contexts 2009-03-25 00:33:35 +01:00
Lennart Poettering
44ca897769 introduce new flag that marks sinks/sources which can adjust the latency dynamically 2009-03-25 00:30:54 +01:00
Lennart Poettering
9bca59efc1 make pa_source_set_max_rewind() work similar to pa_sink_set_max_rewind() 2009-03-25 00:26:44 +01:00
Lennart Poettering
9151107cb9 get rid of 'default' min/max latencies, simplify things by just having absolute boundaries 2009-03-25 00:25:17 +01:00
Lennart Poettering
c64d8cbcc7 Allow calling pa_{sink|source}_update_proplist() without an actual proprlist 2009-03-24 21:17:55 +01:00
Lennart Poettering
2f9a784167 set request/rewind sizes only via accessor functions 2009-03-24 21:13:41 +01:00
Lennart Poettering
aa92ff408c simplify latency range by not allowing stored 'wildcard' ranges anymore 2009-03-24 21:06:57 +01:00
Lennart Poettering
e6be9481dc only decrease timer slack, never increase 2009-03-24 20:59:54 +01:00
Lennart Poettering
52dcb950ef add pa_assert_cc() for compile time assertions 2009-03-23 21:03:52 +01:00
Lennart Poettering
08154554b0 only store card profile if flagged for that 2009-03-23 19:31:36 +01:00
Lennart Poettering
b3675c28fa add functions that modules can call whenever they now the volume changed 2009-03-21 02:45:31 +01:00
Lennart Poettering
20488fbe3e add pa_hook_is_firing 2009-03-21 01:18:48 +01:00
Lennart Poettering
a998038ee2 introduce pa_sink_input_get_relative_volume() 2009-03-20 13:50:26 +01:00
Lennart Poettering
bd3154a861 introduce pa_assert_fp() for fast path assertions 2009-03-20 13:29:42 +01:00
Lennart Poettering
fe3709c5c7 fix a comment 2009-03-19 19:38:30 +01:00
Lennart Poettering
4ebdee5b29 deduce a proper icon for TV sets 2009-03-19 12:38:59 +01:00
Lennart Poettering
6427c70a85 try more things to get a proper icon for sinks/sources 2009-03-04 18:37:14 +01:00
Lennart Poettering
ec1c92347d print error code when suspend/resume fails 2009-03-04 05:32:26 +01:00
Lennart Poettering
341f44fa24 fix handling of _suspend_all(), return first failure error code 2009-03-04 05:32:26 +01:00
Lennart Poettering
ecbc320a4c make suspend state of monitor source follow the suspend state of the sink it belongs to 2009-03-04 05:32:19 +01:00
Lennart Poettering
bffa8be8cd Don't allow suspending of monitor sources.
Closes #499
2009-03-04 05:25:41 +01:00
Lennart Poettering
d09287d211 Fix a NULL pointer access when sutting down esound/simple connections
If a connection is unlinked make sure the process_msg function doesn't
crash when a message is received afterwards.

Closes #463.
2009-03-04 04:00:00 +01:00
Lennart Poettering
946d07211b document more closely from which context certain functions may be called 2009-03-04 02:51:30 +01:00
Finn Thain
0329edd179 revive solaris module
Hi All,

This patch fixes the solaris audio device source and sink, and fixes some
portability issues that break the build on solaris. Questions and comments
welcomed.

I've tested this patch only with OpenSolaris Express snv 103. Eventually I
hope to be able to test a few older releases and older hardware (though it
is hard to say whether there is much interest in those).

This is my first brush with pulseaudio and so I read the wiki docs and
some of the source code but I'm still unsure of a few things. In
particular I'm wondering about rewind processing, corking and what (if
anything) the module needs for those. I'm also unclear on the implications
of thread_info.buffer_size, .fragment_size and .max_request, and whether
my code is correct or not.

This patch disables link map/library versioning unless ld is GNU ld.
Another approach for solaris would be to use that linker's -M option, but
I couldn't make that work (due to undefined mainloop, browse and simple
symbols when linking pacat. I can post the errors if anyone is intested.)

Thanks,
Finn Thain
2009-03-03 22:27:00 +01:00
Lennart Poettering
ff38eaf677 Merge commit 'coling/lgpl21' 2009-03-03 21:44:56 +01:00
Colin Guthrie
86dee05aec Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
Lennart Poettering
297515a39e pass profile priority value to clients 2009-03-03 00:32:10 +01:00
Lennart Poettering
f8a085f5cf properly handle directed card info requests 2009-03-02 18:11:49 +01:00
Lennart Poettering
45ae4abe23 run make update-ffmpeg 2009-03-02 14:33:36 +01:00
Lennart Poettering
671b927955 add logic for initializing a useful icon name 2009-03-01 21:38:27 +01:00
Lennart Poettering
620bf84573 try to vacuum a little when nothing is going on 2009-02-25 09:13:19 +01:00
Lennart Poettering
00839ddaa6 make sure we check the sink status for PA_SINK_INPUT_FAIL_ON_SUSPEND only after module-suspend-on-idle had the chance to resume the device 2009-02-24 22:27:25 +01:00
Lennart Poettering
998aa40875 fix handling of stereo 2009-02-23 23:55:16 +01:00
Lennart Poettering
e0b550710a it's probably more appropriate to return the configured latency instead of the actual latency 2009-02-23 23:55:05 +01:00
Lennart Poettering
385a560c82 complete esd suspend/resume implementation 2009-02-23 23:51:53 +01:00
Lennart Poettering
2e9479b1f3 implement esd sample panning. closes #428 2009-02-23 23:51:29 +01:00