João Paulo Rechi Vita
85a931f333
Get rid of hw_constraint function. It's code now lives inside bt_setconf().
2008-09-11 01:12:06 +03:00
João Paulo Rechi Vita
77138dd8f7
Change default sink name to bluetooth_sink
2008-09-11 01:12:06 +03:00
João Paulo Rechi Vita
6c10b106d8
Try to improve time estimation
2008-09-11 01:12:06 +03:00
João Paulo Rechi Vita
123ba4f5f1
Fix handling of PA_SINK_MESSAGE_GET_LATENCY
2008-09-11 01:12:06 +03:00
João Paulo Rechi Vita
0d37b912ee
Remove PA_SINK_NETWORK flag and move the passage of streamfd to the rt thread just before the thread creation
2008-09-11 01:12:06 +03:00
João Paulo Rechi Vita
435eb0711b
Change pa_sink_render to pa_sink_render_into_full and remove some unnecessary checks on the rt thread
2008-09-11 01:12:06 +03:00
João Paulo Rechi Vita
2e51b93026
Make stream socket non-blocking
2008-09-11 01:12:06 +03:00
João Paulo Rechi Vita
71f1d68dac
Fix block size for SCO
2008-09-11 01:12:05 +03:00
João Paulo Rechi Vita
fcd7dc1fd7
Add include for core-util.h
2008-09-11 01:12:05 +03:00
João Paulo Rechi Vita
eb1e308710
Initialize rtpoll_item
2008-09-11 01:12:05 +03:00
João Paulo Rechi Vita
0519e5d446
Add include for sample.h
2008-09-11 01:12:05 +03:00
João Paulo Rechi Vita
d48961f258
Change close() to pa_close()
2008-09-11 01:12:05 +03:00
João Paulo Rechi Vita
b4ded21e08
Change strerror() to pa_cstrerror()
2008-09-11 01:12:05 +03:00
João Paulo Rechi Vita
16d5aab020
Get rid of SINK_MESSAGE_PASS_SOCKET, since we don't really need it
2008-09-11 01:12:05 +03:00
João Paulo Rechi Vita
aa310a40f8
Changes for pa_modargs_get_value_u32 for integer arguments and correct some error messages
2008-09-11 01:12:04 +03:00
João Paulo Rechi Vita
0396a60529
Copy arguments values instead of just getting a pointer for them
2008-09-11 01:12:04 +03:00
João Paulo Rechi Vita
f992296b97
Hand the stream socket to the rt thread
2008-09-11 01:12:04 +03:00
João Paulo Rechi Vita
255f9b0fe6
Initial code for rt thread
2008-09-11 01:12:04 +03:00
João Paulo Rechi Vita
b8b761a81f
Fix PA_USEC_PER_SEC missing
2008-09-11 01:12:04 +03:00
João Paulo Rechi Vita
a3f075670a
BlueZ connection configuration done
2008-09-11 01:12:04 +03:00
João Paulo Rechi Vita
e7b0839d17
Adds SBC Codec to pa tree
2008-09-11 01:12:04 +03:00
João Paulo Rechi Vita
ee68292c61
Initial file for module-bt-device
2008-09-11 01:12:03 +03:00
João Paulo Rechi Vita
d8a0ec53da
Add code from bluez/audio/ipc.[ch]
2008-09-11 01:12:03 +03:00
João Paulo Rechi Vita
ffe76a2daf
Add sender=org.bluez to dbus add match
2008-09-11 01:12:03 +03:00
João Paulo Rechi Vita
fe8bd53e22
Remove modargs, since module-bt-discover doesn't have any argument
2008-09-11 01:12:03 +03:00
João Paulo Rechi Vita
1e03c323ca
Refactor all linked lists to use pulsecore/llist.h
2008-09-11 01:12:03 +03:00
João Paulo Rechi Vita
d893a1ff53
Remove block delimiters from single line if blocks
2008-09-11 01:12:03 +03:00
João Paulo Rechi Vita
cadc6660dd
Remove some unused vars and labels
2008-09-11 01:12:02 +03:00
João Paulo Rechi Vita
a69c020c55
Change booleans to pa_bool_t
2008-09-11 01:12:02 +03:00
João Paulo Rechi Vita
d90bb1859a
We don't need call_dbus_method anymore
2008-09-11 01:12:02 +03:00
João Paulo Rechi Vita
9907b461d4
Don't need to explicity check if hcid is running anymore
2008-09-11 01:12:02 +03:00
João Paulo Rechi Vita
2b68562323
Improve dbus communication
2008-09-11 01:12:02 +03:00
João Paulo Rechi Vita
e5d25e0542
Changing all private functions to static
2008-09-11 01:12:02 +03:00
João Paulo Rechi Vita
3909d9bf90
Remove VERBOSE definition
2008-09-11 01:12:02 +03:00
João Paulo Rechi Vita
c9f56593e3
Adding dynamic bluetooth audio devices detection
2008-09-11 01:12:02 +03:00
João Paulo Rechi Vita
314dadeade
Fix the symdef include
2008-09-11 01:12:01 +03:00
João Paulo Rechi Vita
6fccd5828a
Fix comparison of strings of different case
2008-09-11 01:12:01 +03:00
João Paulo Rechi Vita
8b511f5598
Adding module-bt-discover
2008-09-11 01:12:01 +03:00
Lennart Poettering
0deb6a4b13
minor improvements in debug handling
2008-09-09 02:17:01 +03:00
Lennart Poettering
3a46bbeba5
When returning from a suspend, pass exactly the same flags as originally when
...
we opened the device.
2008-09-09 00:10:54 +03:00
Lennart Poettering
25b200c087
fix minor typo
2008-09-09 00:06:12 +03:00
Lennart Poettering
f4c2f00f78
Work around presumable ALSA bug that treats the dir argument to
...
snd_pcm_hw_params_set_periods_near() actually as > or < instead of >= and <=.
2008-09-09 00:04:50 +03:00
Lennart Poettering
12c5c62dad
Downgrade hrtimer warning to notice level
2008-09-05 00:38:52 +02:00
Lennart Poettering
1c4ad4b64b
rework device opening code: work around broken SND_PCM_NO_AUTO_xxx support in ALSA <= 1.0.17a
2008-08-31 16:25:37 +02:00
Lennart Poettering
54da71ef5d
reduce needlessly large gdbm cache a bit
2008-08-29 01:48:31 +02:00
Ed Catmur
3d07cc8112
alsa_error_handler should note source of errors
...
When an error gets passed up from alsa-lib via alsa_error_handler, it's unclear
the source of the error. alsa_error_handler should note that the error came
from alsa-lib. (Closes #341 )
2008-08-26 23:19:43 +02:00
Lennart Poettering
dc9b8dce30
add a few missing casts
2008-08-20 03:33:06 +03:00
Lennart Poettering
b7026bf248
add a few more gcc warning flags and fix quite a few problems found by doing so
2008-08-19 22:39:54 +02:00
Lennart Poettering
e65c514542
don't unref pa_native_options object twice
2008-08-18 20:07:32 +02:00
Lennart Poettering
5cc2187bec
add some code to make invalid valgrind warnings go away
2008-08-18 19:55:55 +02:00