summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix SLC completion checkJohan Hedberg2009-02-041-1/+1
| | | | | We should check HF and not AG features when determining whether the SLC creation is complete or not.
* Store the old link key type for changed combination keysMarcel Holtmann2009-02-041-5/+12
|
* Don't make use of debug combination keys for further connectionsMarcel Holtmann2009-02-041-1/+3
|
* Don't clear the authentication request completely on SSP completeJohan Hedberg2009-02-041-3/+0
|
* Add icon for other audio devicesMarcel Holtmann2009-02-041-0/+2
|
* Delay AVRCP connection when remote device connects A2DPJohan Hedberg2009-02-044-3/+53
| | | | | | | The audio profile coexistence whitepaper recommends that the initiator of the A2DP connection also initiates the AVRCP connection. This patch adds a two second delay before we attempt connecting AVRCP after the remote device has connected A2DP to us.
* Add missing three-way calling feature bitJohan Hedberg2009-02-041-1/+2
|
* Refactor adapter and device struct fetching into a single functionJohan Hedberg2009-02-031-149/+56
|
* Add support for HCI_Simple_Pairing_Complete eventJohan Hedberg2009-02-035-0/+53
| | | | | | When we are the acceptors of a pairing request and we have used the Agent.DisplayPasskey we need to use the Simple Pairing Complete HCI event for calling Agent.Cancel.
* Fix authentication replies when disconnectedJohan Hedberg2009-02-033-6/+8
| | | | | This patch makes sure that we don't reply to the authentiction requests if we get disconnected before authentication has completed.
* Set up a stream for incoming connections if the sink doesn't do itJohan Hedberg2009-02-023-26/+70
| | | | | | | | | | | | | | Some headsets when acting as initiators of an AVDTP connection create the AVDTP signaling channel but don't do anything else over it (i.e. they expect us to set up a stream when needed). This patch makes bluetoothd do the same as AudioSink.Connect() if no AVDTP commands have been received from the sink within one second after it has created the AVDTP signaling channel to us. Setting up a stream is also important because the AudioSink Connected property is bound to the existence of a configured stream (which makes sense since an AVDTP connection as such tells us nothing about what sinks and sources there are or even if audio or video will be used).
* Fix callheld indicator updatingJohan Hedberg2009-02-021-0/+14
|
* Add delay to have 2.1 setup settle before requesting features againMarcel Holtmann2009-02-031-0/+1
|
* Decrease AVDTP idle timeout to 1 secondJohan Hedberg2009-02-021-1/+1
|
* Set AVRCP version 1.0 since nothing else is implementedJohan Hedberg2009-02-021-2/+2
|
* Release 4.284.28Marcel Holtmann2009-02-022-1/+11
|
* Fix setting revents in bluetooth_playback_poll_reventsJohan Hedberg2009-02-011-2/+1
| | | | | | | | | | This fix will unfortunately break any applications that make use of snd_pcm_wait (audacious is one of them). However, without this fix most applications using snd_pcm_poll_descriptors_revents will cause access to invalid memory as they only pass a single integer (while snd_pcm_wait_nocheck passes a full array). The following thread on the alsa mailing list has more information: http://mailman.alsa-project.org/pipermail/alsa-devel/2009-February/014392.html
* Remove BT_SUSPEND_STREAM and BT_RESUME_STREAM since they are not usedJohan Hedberg2009-02-011-2/+0
|
* Mention Lennart's contributionsMarcel Holtmann2009-02-021-0/+1
|
* Use 'unsigned' instead of uint8_t for bitfieldsLennart Poettering2009-02-011-22/+22
| | | | | Using 'uint8_t' for bitfields doesn't make a lot of sense and is not allowed in ANSI C. Use 'unsigned' instead.
* make check_mmx_support() a proper C functionLennart Poettering2009-02-011-1/+1
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* Don't try to send an invalid SCO fd over the unix socketJohan Hedberg2009-02-011-2/+7
|
* Use %zd instead of %ld for size_tMarcel Holtmann2009-01-301-2/+2
|
* Fix another signed/unsigned comparison warningMarcel Holtmann2009-01-301-1/+1
|
* Fix signed/unsigned comparison issue within GStreamer pluginMarcel Holtmann2009-01-304-6/+6
|
* Fix signed/unsigned comparison issues within AVDTP/A2DP codeMarcel Holtmann2009-01-304-19/+19
|
* Fix signed/unsigned comparison of ALSA pluginMarcel Holtmann2009-01-302-9/+11
|
* Fix SDP code to allow compilation with -Wsign-compareMarcel Holtmann2009-01-302-31/+32
|
* Fix SBC to compile cleanly with -Wsign-compareMarcel Holtmann2009-01-302-6/+9
|
* Fix for SBC encoding with block sizes other than 16Siarhei Siamashka2009-01-291-6/+13
| | | | | | Thanks to Christian Hoene for finding and reporting the problem. This regression was intruduced in commit 19af3c49e61aa046375497108e05a3a0605da158
* Fix mostly every warning caused by -Wsign-compareMarcel Holtmann2009-01-2927-60/+73
|
* Add -Wno-sign-compare until the SDP functions get fixedMarcel Holtmann2009-01-291-0/+2
|
* Add -Wno-sign-compare for the library and fix the other warningsMarcel Holtmann2009-01-294-6/+7
|
* Fix signed/unsigned integer comparison for helpersMarcel Holtmann2009-01-294-5/+5
|
* Fix signed/unsigned integer comparisonMarcel Holtmann2009-01-291-2/+4
|
* SBC encoder scale factors calculation optimized with __builtin_clzSiarhei Siamashka2009-01-293-16/+50
| | | | | | | | | Count leading zeros operation is often implemented using a special instruction for it on various architectures (at least this is true for ARM and x86). Using __builtin_clz gcc intrinsic allows to eliminate innermost loop in scale factors calculation and improve performance. Also scale factors calculation can be optimized even more using SIMD instructions.
* 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.