Commit graph

3624 commits

Author SHA1 Message Date
Lennart Poettering
60c50bbf10 declare 'animation' stream role for Flash and suchlike 2009-02-12 03:20:38 +01:00
Lennart Poettering
12db1a559d make gcc 4.4 shut up 2009-02-12 03:19:59 +01:00
Lennart Poettering
a729786637 implement a module that corks music/video streams automatically when a phone call is active 2009-02-12 03:19:40 +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
Marc-André Lureau
f56da98937 suspend-on-idle: don't crash when so->source is NULL 2009-02-11 16:07:23 +02:00
Marc-André Lureau
cce4359831 bluetooth: reinitialize the sample spec when switching profile
When doing init_profile(), the value u->sample_spec is modified to the
one which has been last configured. In case of HSP, it will be 8kHz.

Later on, when setting the profile to A2DP, it picks up the lower rate
available which match with current u->sample_spec.

In my case, it would be 16kHz. To circunvent the issue, I decided to
reinitialize the u->sample_spec to default value with user module
argument requested rate.
2009-02-10 23:53:36 +02:00
Marc-André Lureau
cac0f9ef2b bluetooth: export nrec 2009-02-10 16:10:00 +02:00
Marc-André Lureau
452e2b9fa0 bluetooth: suspend SCO state when over PCM 2009-02-10 16:09:56 +02:00
Marc-André Lureau
c8a240cddd bluetooth: SCO over PCM 2009-02-09 22:14:45 +02:00
Marc-André Lureau
b35ae7f531 bluetooth: reconnect to audio service when switching profile
Currently, Bluez audio service crash when reusing the same control
socket to switch to different profiles. This typically happen when
first switching from HSP to A2DP on dual headsets.
2009-02-09 22:13:46 +02:00
Lennart Poettering
4bd9737725 Merge branch 'master-tx'
Conflicts:
	po/pl.po
2009-02-06 02:15:13 +01:00
Erich Boleyn
64926ff6b3 RTP segfault/uninitialized resampler
Erich Boleyn <erich@uruk.org> wrote:

> Using RTP for multi-room music streaming, updated to Pulse 0.9.14 from
> 0.9.9, RTP reception new crashes with a segfault on all machines at
> the first "Updating sample rate" log message.
>
> Source of the segfault appears to be null pointer for
> "impl_update_rates" function in resampler routine, perhaps
> uninitialized resamplers in general?

A fresh look after work made the resampler initialization code pop out.

The problem is in the sink connection being made from
"module-rtp-recv.c", the "PA_SINK_INPUT_VARIABLE_RATE" flag should be
passed into "pa_sink_input_new", but is not there.  Made the change and
tested it, fixes the problem.  Checked and head-of- tree off of the
pulseaudio.org source browsing link does not have this fix either.

One-liner patch attached.
2009-02-06 02:12:20 +01:00
Lennart Poettering
6bb2c49057 add #defines for all enums that lacked it 2009-02-06 02:01:17 +01: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
Piotr Drąg
108e08c802 Updated Polish translation
Transmitted-via: Transifex (translate.fedoraproject.org)
2009-02-05 21:14:35 +00:00
Lennart Poettering
9f39a44488 add new module-augment-properties module for augmenting properties from .desktop files 2009-02-05 04:14:30 +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
f6ffd2dd5a make module-position-event-sounds use volume factor 2009-02-05 01:22:57 +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
3fc1233062 add a .mailmap file for git shortlog 2009-02-04 22:41:45 +01:00
Lennart Poettering
12c29e1832 store the identification key in the module-stream-restore.id property 2009-02-04 22:26:08 +01:00
Lennart Poettering
9e2a2f88df run make update-po 2009-02-04 21:49:17 +01:00
Lennart Poettering
9a4e03c58e bump version and soname 2009-02-04 21:44:25 +01:00
Lennart Poettering
ae06517286 make pacmd work in a pipe 2009-02-04 21:22:18 +01:00
Lennart Poettering
3d33172791 rate limit underrun messages 2009-02-04 20:55:30 +01:00
Lennart Poettering
0933f1a2a4 Merge commit 'flameeyes/flameeyes' 2009-02-04 18:42:43 +01:00
Lennart Poettering
d4618c8c84 Merge commit 'vudentz/master' 2009-02-04 18:42:13 +01:00
Lennart Poettering
9a93157f5d Merge commit 'coling/master' 2009-02-04 18:41:44 +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
786398dc63 fix a validity check 2009-02-04 18:32:15 +01:00
Lennart Poettering
1db64781bf version all entries in the database 2009-02-04 18:31:24 +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
f6ec971e88 clarify things a bit 2009-02-04 17:20:58 +01:00
Lennart Poettering
12b735962a add a few additional validity checks 2009-02-04 17:20:36 +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
a6fe991716 beef up proplist test a bit 2009-02-04 17:16:32 +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
b445741ddf fix up parser in pa_proplist_from_string() to handle escapes correctly; make pa_proplist_to_string() escape quotes properly 2009-02-04 17:14:59 +01:00
Lennart Poettering
0fc59e4585 add new API pa_ascii_valid(), pa_ascii_filter() 2009-02-04 17:11:56 +01:00