Commit graph

3486 commits

Author SHA1 Message Date
Lennart Poettering
923dc1ba47 run make update-po 2009-02-12 16:57:53 +01:00
Lennart Poettering
cc526a0b5f prepare test2 2009-02-12 16:51:52 +01:00
Lennart Poettering
e82b2fd098 handle errors from BT service properly 2009-02-12 16:51:02 +01:00
Lennart Poettering
c3b0d841d1 make module-hal-detect pick up all cards even when they have no device 0 2009-02-12 04:15:15 +01:00
Lennart Poettering
84666dbc88 properly free modargs object when init fails; don't abbreviate modargs in struct 2009-02-12 04:00:40 +01:00
Lennart Poettering
a371306710 tabs are evil 2009-02-12 03:57:59 +01:00
Lennart Poettering
a7b992face some minor fixups 2009-02-12 03:56:01 +01:00
Lennart Poettering
6ada8d1fea instead of reparsing the rate module argument when changing profile, simply restore the originally requested sample_spec, this also makes sure the channel count is properly reset 2009-02-12 03:47:27 +01:00
Lennart Poettering
752f815183 addendum to f56da9893: don't crash when s->sink is NULL 2009-02-12 03:42:28 +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
5d154255cb minor reformatting 2009-02-12 03:20:52 +01:00
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