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
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
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
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
9f39a44488
add new module-augment-properties module for augmenting properties from .desktop files
2009-02-05 04:14:30 +01:00
Lennart Poettering
f6ffd2dd5a
make module-position-event-sounds use volume factor
2009-02-05 01:22:57 +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
3d33172791
rate limit underrun messages
2009-02-04 20:55:30 +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
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
Luiz Augusto von Dentz
004b38f0f8
Prevent changing volume on wrong device.
2009-02-04 10:28:03 -03:00
Colin Guthrie
d1957b8325
Trivial typo in a comment
2009-02-03 23:46:13 +00:00
Colin Guthrie
e28903e9e0
Clean up volume/mute settings a bit.
...
As the APEX device only has one channel of volume (e.g. it's always matched) we emulate any variation in channel volumes in software.
Remove the unnecessary callback defininitions.
2009-02-03 23:46:13 +00:00
Marc-André Lureau
539abc365f
bluetooth: typo
2009-02-03 14:19:16 +02:00
Lennart Poettering
08800c35b0
make a couple of functions return proper error codes
2009-02-03 03:14:20 +01:00
Lennart Poettering
59f3001ca5
pull in new SBC/BT files
2009-02-03 01:33:48 +01:00
Lennart Poettering
390133f2dc
big module-bluetooth-device.c rework
2009-02-02 01:58:48 +01:00
Lennart Poettering
62f1f3e563
make rtp.h ANSI C compliant
2009-02-02 01:54:40 +01:00
Lennart Poettering
121a8b9190
handle EAGAIN properly
2009-02-02 01:53:11 +01:00
Lennart Poettering
a41d72bb2e
update sbc stuff
2009-02-02 01:44:37 +01:00
Lennart Poettering
d6fdd71c02
add new functions pa_bluetooth_cleanup_name() and pa_bluetooth_get_form_factor()
2009-02-02 00:30:10 +01:00
Lennart Poettering
55e6331bed
store the module index shifted by 1 to map PA_INVALID_INDEX to NULL
2009-02-02 00:25:02 +01:00
Lennart Poettering
6b803217ce
Merge branch 'master' into lennartsbtfixes
2009-01-30 04:28:05 +01:00
Lennart Poettering
e6f4586f7b
include ALSA driver in properties for cards/sink
2009-01-30 02:24:58 +01:00
Lennart Poettering
4bd654542e
add new function pa_alsa_get_driver_name()
2009-01-30 02:24:40 +01:00
Lennart Poettering
4a75002ebe
add missing files
2009-01-29 20:30:42 +01:00
Lennart Poettering
a71fa021a3
temporary commit of lennarts new bt changes
2009-01-29 16:27:27 +01:00
Lennart Poettering
47a9b96b64
add some helpers for dealing with DBusPendingCall based on Mrc-Andre's work in module-bluetooth-discover
2009-01-29 16:26:34 +01:00
Lennart Poettering
4a06af6081
make use of new functions pa_dbus_add_matches/pa_dbus_remove_matches
2009-01-29 03:31:42 +01:00
Lennart Poettering
509535d240
add new functions pa_dbus_add_matches()/pa_dbus_remove_matches()
2009-01-29 03:30:50 +01:00
Lennart Poettering
daf0612e37
make things compile again
2009-01-28 04:49:07 +01:00
Lennart Poettering
b56e0389d1
Merge commit ' 12db687acf'
2009-01-28 04:22:51 +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
fc3ff11418
fix two typos
2009-01-28 01:39:19 +01:00
Lennart Poettering
98821c783d
print the right software volume
2009-01-28 01:31:54 +01:00
Marc-André Lureau
12db687acf
bluetooth: cold hsp/a2dp device detection
2009-01-28 01:29:19 +02:00
Marc-André Lureau
a6a1b42c87
bluetooth: hsp volume control
2009-01-28 01:29:19 +02:00
Lennart Poettering
611154caca
Merge commit 'coling/master'
2009-01-28 00:25:50 +01:00
Lennart Poettering
3affa7e02d
make m-v-r a stub that simply load m-s-r
2009-01-28 00:22:28 +01:00
Lennart Poettering
63157a6662
add missing usage strings
2009-01-28 00:19:47 +01:00