Commit graph

3045 commits

Author SHA1 Message Date
João Paulo Rechi Vita
dc4f79657f Use union instead of different pointer types to the same memory area to make the code C99 compliant 2008-09-11 01:12:08 +03:00
João Paulo Rechi Vita
d1cc632278 Move render and write to the fd to a separate function 2008-09-11 01:12:08 +03:00
João Paulo Rechi Vita
88a21e9677 Change MIN/MAX to PA_MIN/PA_MAX 2008-09-11 01:12:08 +03:00
João Paulo Rechi Vita
27bc1ea423 Remove unnecessary initialization of getcaps_req->flags 2008-09-11 01:12:08 +03:00
João Paulo Rechi Vita
027940b316 Remove u->channels and u->rates, since it's redundant info 2008-09-11 01:12:08 +03:00
João Paulo Rechi Vita
0e817579ee Fix some memory leaking 2008-09-11 01:12:08 +03:00
João Paulo Rechi Vita
e752caca80 Change sbc_initialized to pa_bool_t 2008-09-11 01:12:07 +03:00
João Paulo Rechi Vita
708905c1dc pa__done for module-bt-device 2008-09-11 01:12:07 +03:00
João Paulo Rechi Vita
61013fbb3d Fix some debug messages and other cosmetic changes 2008-09-11 01:12:07 +03:00
João Paulo Rechi Vita
e570767896 Refactor a2dp thread execution flow and improve time estimation 2008-09-11 01:12:07 +03:00
João Paulo Rechi Vita
2f455bfa5a A2DP poorly working 2008-09-11 01:12:07 +03:00
João Paulo Rechi Vita
c89301da26 Fix sample size 2008-09-11 01:12:07 +03:00
João Paulo Rechi Vita
e545479563 Fix block_size calculation 2008-09-11 01:12:07 +03:00
João Paulo Rechi Vita
b5c4d2e5f1 Configure bt connection for a2dp 2008-09-11 01:12:06 +03:00
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
c62c2ff4ad Add module-bt-device and dependencies to automake 2008-09-11 01:12:03 +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