summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement AVDTP signal fragmentation supportJohan Hedberg2009-01-281-293/+487
| | | | | | This patch implements AVDTP signal fragmentation. Even though it's a mandatory feature it in practice it never gets used with A2DP as it requires messages that exceed 48 bytes (the minimum L2CAP MTU).
* Fix uninitialized address variableJohan Hedberg2009-01-281-0/+2
|
* Performance optimizations for input data processing in SBC encoderSiarhei Siamashka2009-01-285-203/+258
| | | | | | | | Channels deinterleaving, endian conversion and samples reordering is done in one pass, avoiding the use of intermediate buffer. Also this code is implemented as a new "performance primitive", which allows further platform specific optimizations (ARMv6 and ARM NEON should gain quite a lot from assembly optimizations here).
* Don't auto-disconnect explicitly created A2DP connectionsJohan Hedberg2009-01-273-1/+18
| | | | | | | | | This patch makes sure that explicitly created connections (remotely initiated or using AudioSink.Connect()) stay up until explictly disconnected. The control for this needs to be in the stream timer and not the disconnect timer since our AVDTP state machine always tries to keep one stream in configured state (i.e. it should be ok to always disconnect if we stay too long in IDLE state).
* Set the Alias only after checking the EIR dataJohan Hedberg2009-01-271-11/+11
|
* Fix DBusError usage with dbus_message_get_argsJohan Hedberg2009-01-261-2/+2
|
* Use of -funroll-loops option to improve SBC encoder performanceSiarhei Siamashka2009-01-233-17/+41
| | | | | | | | | Added the use of -funroll-loops gcc option for SBC. Also in order to gain better effect, 'sbc_pack_frame' function body moved to an inline function, which gets instantiated for 4 different subbands/channels combinations. So that 'frame_subbands' and 'frame_channels' arguments become compile time constants and can be better optimized by the compiler.
* Audio quality improvement for 16-bit fixed point SBC encoderSiarhei Siamashka2009-01-232-347/+270
| | | | | | | | | | | | | | | | | Multiplying the first part of the analysis filter constant tables by some coefficients and dividing the second part by the same coefficients is a transformation which should produce the same results if rounding errors are not taken into account. These additional C0/C1/... coefficients can be varied in a certain range (the requirement is that we still do not get overflows). The 'magic' values for these coefficients are selected in such a way that the rounding errors are minimized (rounding errors are unavoidable when putting all the floating constants into 16-bit tables and losing some of the fractional part). Also non-SIMD variant of the analysis filter is dropped because keeping it would require applying a similar change to its tables, which is a bit tricky and just increases maintenance overhead.
* Fix bug on error report.Luiz Augusto von Dentz2009-01-231-1/+1
|
* Fix bug which prevents emitting DeviceDisappered.Luiz Augusto von Dentz2009-01-212-37/+30
|
* Fix bug on alsa plugin when debug is active.Luiz Augusto von Dentz2009-01-211-1/+2
|
* Update l2ping man page for recent changes to l2ping.Nick Pelly2009-01-211-4/+13
|
* Fix sbcenc breakage when au file header size is larger than 24 bytesSiarhei Siamashka2009-01-191-7/+17
|
* Use native byte order for audio in GStreamer and ALSA pluginsSiarhei Siamashka2009-01-193-4/+4
| | | | | This fixes endianness inconsistency between default SBC configuration and GStreamer/ALSA.
* Mention Nick's contributionsMarcel Holtmann2009-01-181-0/+1
|
* Remove extra commentMarcel Holtmann2009-01-181-3/+1
|
* Add -v and -d options to l2pingNick Pelly2009-01-181-35/+69
|
* Performance optimizations for sbcenc utilitySiarhei Siamashka2009-01-181-72/+50
| | | | | | Read and write buffers sizes increased, memmove overhead eliminated. Nonportable cast from 'unsigned char *' to 'struct au_header *' is now also resolved as part of the changes.
* Coding style fixesSiarhei Siamashka2009-01-181-21/+32
|
* Fix indentation to use only tabsJohan Hedberg2009-01-165-219/+219
|
* Release 4.274.27Marcel Holtmann2009-01-162-1/+19
|
* Update library versionMarcel Holtmann2009-01-161-1/+1
|
* Add missing sbc headers to distJohan Hedberg2009-01-161-0/+1
|
* Use MITM for CreatePairedDevice and handle the NoInputNoOuput casesMarcel Holtmann2009-01-162-4/+12
|
* Also check the local IO capability before requiring MITMJohan Hedberg2009-01-161-3/+6
|
* Require MITM for dedicated bonding if the remote side is capable of itJohan Hedberg2009-01-163-2/+14
|
* Fix memory leakJohan Hedberg2009-01-161-1/+3
|
* Bail out from extract_des if sdp_uuid_extract failsJohan Hedberg2009-01-161-5/+5
|
* Use L2CAP_LM for the L2CAP raw socket for nowJohan Hedberg2009-01-161-7/+10
|
* MMX and ARM NEON optimized versions of analysis filter for SBC encoderSiarhei Siamashka2009-01-166-1/+765
|
* SBC arrays and constant tables aligned at 16 byte boundary for SIMDSiarhei Siamashka2009-01-164-15/+36
| | | | | | | Most SIMD instruction sets benefit from data being naturally aligned. And even if it is not strictly required, performance is usually better with the aligned data. ARM NEON and SSE2 have different instruction variants for aligned/unaligned memory accesses.
* SIMD-friendly variant of SBC encoder analysis filterSiarhei Siamashka2009-01-166-160/+703
| | | | | | | | | Added SIMD-friendly C implementation of SBC analysis filter (the structure of code had to be changed a bit and constants in the tables reordered). This code can be used as a reference for developing platform specific SIMD optimizations. These functions are put into a new file 'sbc_primitives.c', which is going to contain all the basic stuff for SBC codec.
* Don't use auth_required. New kernels still need explicit auth requestedJohan Hedberg2009-01-161-6/+1
|
* Don't try to remove bonding->io_id twice (bonding_request_free does it)Johan Hedberg2009-01-161-3/+0
|
* Fix bonding with pre-2.1 devices and newer kernelsJohan Hedberg2009-01-161-0/+5
| | | | | The L2CAP raw connection will return IO_OUT imediately so let the HCI even tracking take care of cleaning up the bonding struct.
* Use dedicated bonding and no MITM for pairingMarcel Holtmann2009-01-152-5/+2
|
* Add another debug for auth requirements from kernelMarcel Holtmann2009-01-151-3/+5
|
* Fix device creation for incoming security mode 3 connectsJohan Hedberg2009-01-151-2/+4
|
* Fix IO capabilities for non-pairing and pairing casesMarcel Holtmann2009-01-151-12/+14
|
* Differentiate between buffer and data sizeMarcel Holtmann2009-01-151-4/+19
|
* Add support for fragmentation of data packetsMarcel Holtmann2009-01-151-16/+29
|
* Use different socket option numbers to deal with old kernelsMarcel Holtmann2009-01-141-2/+2
|
* Use hci_send_req instead of hci_send_cmd for write_scan_enableJohan Hedberg2009-01-141-2/+9
|
* Explicitly disable scans before powering adapter downJohan Hedberg2009-01-141-0/+2
|
* Fix LIAC setting while toggling Pairable property when Discoverable=trueJohan Hedberg2009-01-141-0/+4
|
* Add support for deferred connection setupMarcel Holtmann2009-01-142-11/+89
|
* Make the ReverseServiceDiscovery option more visibleJohan Hedberg2009-01-132-2/+9
| | | | | Add it to the default main.conf file with a proper comment and print a debug message is it's found to be missing.
* Don't remove linkkeys upon adapter removalJohan Hedberg2009-01-133-5/+7
|
* Allow choosing of MITM for new pairing functionMarcel Holtmann2009-01-131-1/+4
|
* Coding style fixesJohan Hedberg2009-01-131-12/+15
|