Lennart Poettering
9ee6a41491
bluetooth: memory leak, actually free discovery struct itself
2009-04-10 01:12:12 +02:00
Lennart Poettering
6c04a1c903
bluetooth: make sure to set max_request
2009-04-08 04:15:42 +02:00
Lennart Poettering
d035f4a3f3
Modify smoothing code to make cubic interpolation optional and allow 'quick fixups' on resuming
...
The primary reason for this change is to allow time graphs that do not
go through the origin and hence smoothing starting from the origin is
not desired. This change will allow passing time data into the smoother
while paused and then abruptly use that data without smoothing using the
'quick fixup' flag when resuming.
Primary use case is allowing recording time graphs where the data
recorded originates from a time before the stream was created. The
resulting graft will be shifted and should not be smoothened to go
through the origin.
2009-04-05 02:26:02 +02:00
Lennart Poettering
cab1e54392
explain ff7033c11d
2009-03-31 00:26:12 +02:00
Lennart Poettering
ff7033c11d
Revert "make sure we always read in all properties"
...
This reverts commit 1c8f968282 .
Turns out doing this is racy. The appropriate fix seems to be
38825d7912
2009-03-31 00:22:17 +02:00
Lennart Poettering
857a1f4909
fix compiler warning
2009-03-30 20:57:23 +02:00
Lennart Poettering
90fbc036f4
make sure we never access an invalid pa_bluetooth_device object
2009-03-30 20:57:12 +02:00
Lennart Poettering
1c8f968282
make sure we always read in all properties
2009-03-30 20:56:03 +02:00
Lennart Poettering
66b80e9ecd
get rid of old 'Connected' property parsing and make sure we don't execute two case branches
2009-03-30 20:55:50 +02:00
Lennart Poettering
91355a1ce5
introduce typedef for pa_bt_audio_state and use it everywhere
2009-03-30 20:55:10 +02:00
Lennart Poettering
1390564227
Merge commit 'elmarco/bluetooth-fixes'
2009-03-30 20:34:49 +02:00
Marc-André Lureau
eb93e2537a
dbus: split dbus-util into dbus-shared
...
modules: fix dbus-util include
pulse: get dbus at context connection
2009-03-30 20:56:55 +03:00
Marc-André Lureau
87fcb3d592
bluetooth: use new audio State properties
2009-03-27 22:59:57 +02:00
Marc-André Lureau
38825d7912
bluetooth: GetProperties after profile UUID show up
2009-03-27 22:59:56 +02:00
Marc-André Lureau
20bd1c686c
bluetooth: remove racy GetProperties to check profile
2009-03-27 22:59:56 +02:00
Marc-André Lureau
9e8c2d393a
bluetooth: don't access outside array range
2009-03-27 22:59:53 +02:00
Marc-André Lureau
61cd6d4c19
bluetooth: fail when switching on non-connected profile
2009-03-27 20:43:42 +02:00
Marc-André Lureau
62a4e36f5d
bluetooth: connected can be -1, check > 0
2009-03-27 20:43:42 +02:00
Luiz Augusto von Dentz
13f1c4413b
Do not reconfigure capabilities.
2009-03-26 15:40:04 -03:00
Luiz Augusto von Dentz
168c741b64
Query and make use of the current configuration.
2009-03-26 15:40:04 -03:00
Luiz Augusto von Dentz
071b3e7fc5
Update ipc to match new message headers introduced on BlueZ 4.34.
2009-03-26 15:40:04 -03:00
Luiz Augusto von Dentz
b03c545850
Fix misuse of 'frame.joint' when estimating the frame length.
...
'frame.joint' is not the flag for joint stereo mode, it is a set of bits which
show for which subbands channels joining was actually used.
2009-03-26 15:40:03 -03:00
Luiz Augusto von Dentz
f80a1f6d31
Maintain the original code style for sbc.
2009-03-26 15:40:03 -03:00
Lennart Poettering
cbbd98635a
make sure the discovery module is only loaded once
2009-03-25 23:49:09 +01:00
Marc-André Lureau
a7246bd635
bluetooth: fix #NOKIA, correctly unlink sink/src
2009-03-24 21:44:51 +01:00
Lennart Poettering
5b523d097c
fix bad memory access when destroying m-b-d
2009-03-24 21:42:33 +01:00
Lennart Poettering
c14da67050
readd volume control logic
2009-03-21 02:54:18 +01:00
Lennart Poettering
8d5b375f67
at a couple of #ifdef NOKIAs for now
2009-03-21 01:31:38 +01:00
Lennart Poettering
3aa39726db
rework device discovery to share a single device list among all modules
2009-03-21 01:19:49 +01:00
Lennart Poettering
f5c8990d18
make sure we dispatch messages in order
2009-03-20 19:30:37 +01:00
Lennart Poettering
77a1db16b9
fix a misplaced assert
2009-03-20 18:34:16 +01:00
Lennart Poettering
888e44f3b0
rework bluetooth IO loops
2009-03-20 18:04:23 +01:00
Lennart Poettering
d2bee57ee5
fix prototypes of remaining sbc.[ch] API regarding size_t/const
2009-03-20 17:59:40 +01:00
Lennart Poettering
33a8f53ddf
simply bluetooth nrec handling a bit
2009-03-20 13:54:45 +01:00
Lennart Poettering
dd40006718
document things that need to be fixed with FIXME
2009-03-19 18:05:26 +01:00
Lennart Poettering
4a983124e1
Merge commit 'elmarco/bluetooth-fixes'
2009-03-19 17:46:13 +01:00
Lennart Poettering
291d21c4ba
fix prototypes of sbc functions a bit
2009-03-19 17:44:42 +01:00
Lennart Poettering
794775bb51
document todo items discussed at bt meeting
2009-03-19 17:20:56 +01:00
Lennart Poettering
303cd907b9
get rid of setsockopt() calls since they have never been implemented upstream
2009-03-19 17:18:08 +01:00
Marc-André Lureau
e83621724d
bluetooth: rework the info_valid logic to be more tolerant
2009-03-19 17:33:34 +02:00
Marc-André Lureau
f1daa282f0
bluetooth: mark info_valid when receive Connected
...
Sometime, we receive the connected signal before GetProperties reply.
2009-03-19 17:33:34 +02:00
Marc-André Lureau
af9f92bfaa
bluetooth: update SCO over PCM with latest changes
2009-03-19 17:33:34 +02:00
Marc-André Lureau
df3f4eef2d
bluetooth: load bluetooth device with connected profile
2009-03-19 17:33:33 +02:00
Marc-André Lureau
9e93b9ce0b
bluetooth: stream also when source is suspended
2009-03-05 18:19:39 +02:00
Marc-André Lureau
018cadd337
bluetooth: restart timer when write begin
2009-03-05 18:19:13 +02:00
Marc-André Lureau
362d196093
bluetooth: accept temporarily unavailable error
2009-03-05 17:04:39 +02:00
Marc-André Lureau
2d903bae9a
bluetooth: s/handled/not_yet_handled for signals
2009-03-05 16:16:38 +02:00
Marc-André Lureau
12ea5707b5
bluetooth: reset read/write index when starting to stream
2009-03-05 15:47:13 +02:00
Marc-André Lureau
7a8be7f91e
bluetooth: don't init profile when off
2009-03-04 17:16:10 +02:00
Marc-André Lureau
683548e8bc
bluetooth: service_fd could be 0
2009-03-04 17:07:45 +02:00