summaryrefslogtreecommitdiffstats
path: root/audio
Commit message (Collapse)AuthorAgeFilesLines
...
* Create audio device objects on incoming connections if necessaryJohan Hedberg2008-10-084-14/+34
| | | | | | If we haven't done SDP yet the data structures will be uninitialized. This patch makes sure that the structures are properly initialized if we get an incoming connection before service discovery has been done.
* Add separate function for creating new audio device objectsJohan Hedberg2008-10-082-9/+55
| | | | | This is needed in preparation of supporting remotely initated audio device pairing and connections (when we haven't done SDP to the remote device yet).
* Reject non-voice calls in headset.cJohan Hedberg2008-10-082-15/+16
| | | | | | Basicly reverts the previous commit since data calls just don't make sense with HFP. Check for proper voice call dial string and pass the number without the terminating semicolon to the telephony driver.
* Minor coding style fixJohan Hedberg2008-10-081-1/+1
|
* Properly extract the phone number from the ATD stringJohan Hedberg2008-10-081-1/+15
| | | | | | | Voice call ATD requests have a semicolon at the end of the string while data call requests don't. So detect this and don't copy the semicolon to the currently active number (possible sent back to the headset in subsequent operations).
* Fail cleanly if we don't have knowledge of a connecting deviceJohan Hedberg2008-10-081-5/+11
| | | | | | Without this fix we segfault if a device pairs and connects to us before we have completed service discovery to it. Underneath is a more fundamental problem of how we initialize our data structures and this still needs fixing.
* Fix use of uninitialized address variableJohan Hedberg2008-10-081-1/+2
|
* Don't do double g_io_channel_unref if btd_request_authorization failsJohan Hedberg2008-10-081-2/+2
|
* Fix channel mode string from dual to dual-channel.Luiz Augusto von Dentz2008-10-071-1/+1
|
* Fix channel mode string to joint-stereo.Luiz Augusto von Dentz2008-10-071-1/+1
|
* Send a proper reply to AT+CMEEJohan Hedberg2008-10-071-1/+1
|
* Assert that device->headset != NULL for each active deviceJohan Hedberg2008-10-071-0/+3
| | | | | | We got one segfault due to hs == NULL but I couldn't figure out how on earth in could happen. The best I can do right now is to have an assert to catch it instead of a direct segfault.
* Send a proper reply to call waiting notification requestJohan Hedberg2008-10-071-1/+1
|
* Fix coding styleMarcel Holtmann2008-10-061-2/+1
|
* Cancel any pending authorization request if the connection gets dropedJohan Hedberg2008-10-061-0/+2
|
* Don't call pending_connect_finalize in headset_cancel_streamJohan Hedberg2008-10-061-2/+0
| | | | | The pending connect is still needed when rfcomm_connect_cb gets informed of the failed connect attempt.
* pending_connect_finalize() takes care of unreffing p->msgJohan Hedberg2008-10-061-4/+1
|
* Fix D-Bus method return creation logic in hfp_slc_complete()Johan Hedberg2008-10-061-7/+9
|
* Cleanup SCO server socket in audio_exit()Johan Hedberg2008-10-051-1/+8
|
* Change SCO server socket into a generic oneJohan Hedberg2008-10-042-56/+56
| | | | | | Due to a kernel bug we can't initiate SCO connections if there's a server socket bound to the same adapter. Therefore use a global socket bound to BDADDR_ANY instead.
* Fix uninitialized reply of multiple GetProperties methodsMarcel Holtmann2008-10-032-0/+8
|
* Mark old plugins API as deprecated.Luiz Augusto von Dentz2008-10-023-19/+26
|
* Add code to emit PropertyChanged on control interface.Luiz Augusto von Dentz2008-10-021-1/+16
|
* Add property support for control interface.Luiz Augusto von Dentz2008-10-021-0/+29
|
* Add code to emit PropertyChanged on sink interface.Luiz Augusto von Dentz2008-10-021-2/+26
|
* Add property support for sink interface.Luiz Augusto von Dentz2008-10-021-0/+36
|
* Add code to emit PropertyChanged on headset interface.Luiz Augusto von Dentz2008-10-021-3/+31
|
* Add property support for headset interface.Luiz Augusto von Dentz2008-10-021-8/+115
|
* Check HFP status before checking cli_active variableJohan Hedberg2008-10-021-0/+3
|
* Use send_foreach_headset() for RING indicationJohan Hedberg2008-10-021-41/+38
|
* Implement call waiting notification supportJohan Hedberg2008-10-022-7/+62
|
* Update active call status when call is answeredJohan Hedberg2008-10-021-1/+2
|
* Add some debug prints for the connected/disconnected callbacksJohan Hedberg2008-10-021-0/+2
|
* Make the features bits reflect what's actually supported currentlyJohan Hedberg2008-10-021-1/+3
|
* Remove unnecessary empty lineJohan Hedberg2008-10-021-1/+0
|
* Enable proper support for CME errorsJohan Hedberg2008-10-021-5/+30
| | | | | We shouldn't send +CME ERROR: unless we have received the AT+CMEE=1 command first from the handsfree device.
* Add support for subscriber number notificationJohan Hedberg2008-10-023-0/+41
|
* Add support for simple call tracking in dummy driverJohan Hedberg2008-10-022-2/+58
|
* Add support for current call list queryJohan Hedberg2008-10-023-0/+44
| | | | | Support for the AT+CLCC command and the +CLCC:... unsolicited result code.
* Pass context to telephony driver in order to allow multiple headsetsJohan Hedberg2008-10-024-307/+283
| | | | | | This patch allows multiple headsets to be connected at the same time to us. All headsets receive indications but only the headset that sent an AT command will receive the reply for it.
* Add defines for Extended Audio Gateway Error Result CodesJohan Hedberg2008-10-021-0/+25
| | | | | This is needed for the mandatory "Phone status information" feature of HFP.
* Fix AVDTP_STATE_OPEN to happen only after connected and thus prevent ↵Luiz Augusto von Dentz2008-10-011-2/+2
| | | | emitting Connected signal when not connected.
* Prevent passing stdin (0) as a audio transport to applications.Luiz Augusto von Dentz2008-10-011-1/+1
|
* Fix another potential invalid read.Luiz Augusto von Dentz2008-10-011-1/+1
|
* Fix potential invalid read.Luiz Augusto von Dentz2008-10-011-1/+1
|
* Add skeleton for Maemo telephony driverMarcel Holtmann2008-10-012-1/+28
|
* Add missing void declaration in functionMarcel Holtmann2008-09-292-2/+2
|
* Fix info calls that really should be debug insteadJohan Hedberg2008-09-112-8/+8
|
* Implement support for subscriber number request (AT+CNUM)Johan Hedberg2008-09-113-0/+20
|
* Fix error return valueJohan Hedberg2008-09-111-1/+1
|