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
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
af9f92bfaa
bluetooth: update SCO over PCM with latest changes
2009-03-19 17:33:34 +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
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
Marc-André Lureau
fa736887f4
bluetooth: hsp case, check l for appropriate error message
2009-03-04 17:07:45 +02: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
cc8d51ad62
rename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS
2009-03-01 20:32:32 +01:00
Lennart Poettering
2d9ae496c9
rework suspending/resuming
2009-02-22 02:00:25 +01:00
Marc-André Lureau
9f89907bfa
bluetooth: fix suspend on a2dp (to do on HSP non SCO over PCM)
...
- s/setup_stream_fd/start_stream_fd
- introduce stop_stream_fd to suspend properly the stream_fd (does
not seem necessary when shuting down)
- move {start,stop}_stream_fd to IO thread, it is also a good idea
because it takes about 1s to setup.
2009-02-20 03:32:25 +01:00
Lennart Poettering
7bc1847596
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-02-20 03:21:46 +01:00
Lennart Poettering
fdca6edf20
make profile names translatable
2009-02-20 01:18:37 +01:00
Marc-André Lureau
38ded3bb31
bluetooth: print SBC encoder implementation info
...
The encoder initialization is done lazily, so we can only get the
information once encoding start. This is abit annoying..
2009-02-18 15:20:48 +02:00
Marc-André Lureau
b4c391ee5e
bluetooth: don't crash on pa_thread_mq_done() if pa_init() fail
2009-02-18 15:20:48 +02:00
Lennart Poettering
0b8a6c66dc
bluetooth: fix message queue/rtpoll
2009-02-16 14:17:02 +02:00
Lennart Poettering
6bb3dc82ba
don't try to recycle rtpoll objects
2009-02-12 22:52:02 +01:00
Lennart Poettering
52bfd47a49
use the same service fd shutdown logic when destructing module and changing profile
2009-02-12 22:09:00 +01:00
Lennart Poettering
b18c8755d6
minor service IO fixes
2009-02-12 22:06:15 +01:00
Lennart Poettering
d9e3abaf83
the service fd is a stream socket, so handle things accordingly
2009-02-12 21:45:17 +01:00
Lennart Poettering
e82b2fd098
handle errors from BT service properly
2009-02-12 16:51:02 +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
f0cc23d6e5
Merge commit 'elmarco/bt-wip'
2009-02-12 03:35:57 +01: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
Luiz Augusto von Dentz
004b38f0f8
Prevent changing volume on wrong device.
2009-02-04 10:28:03 -03:00
Lennart Poettering
390133f2dc
big module-bluetooth-device.c rework
2009-02-02 01:58:48 +01:00
Lennart Poettering
a71fa021a3
temporary commit of lennarts new bt changes
2009-01-29 16:27:27 +01:00
Lennart Poettering
daf0612e37
make things compile again
2009-01-28 04:49:07 +01:00
Marc-André Lureau
a6a1b42c87
bluetooth: hsp volume control
2009-01-28 01:29:19 +02:00
Lennart Poettering
07db64b9d3
remove redundant cast
2009-01-27 00:53:31 +01:00
Luiz Augusto von Dentz
4460a5d5d5
Fix hsp rate and channels.
2009-01-19 10:19:53 -03:00
Luiz Augusto von Dentz
e7e6f86bbe
Fix sending wrong codec capability length.
2009-01-06 11:02:16 -03:00
Luiz Augusto von Dentz
1a96c9b0a6
Fix send and recv message sizes.
2009-01-06 11:00:44 -03:00
Luiz Augusto von Dentz
be49c92a38
Send packets with proper size.
2009-01-05 19:12:43 -03:00
Luiz Augusto von Dentz
7323e1a0a8
Update module-bluetooth-device to the new ipc.
2008-12-22 14:24:07 -03:00