summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright informationMarcel Holtmann2009-01-011-1/+1
|
* Introduce headset_get_nrec.Luiz Augusto von Dentz2008-12-151-0/+7
|
* Fix AT+NREC APIJohan Hedberg2008-12-101-4/+4
| | | | | Remove disable from the function names since there now is the boolean "enable" parameter.
* Clean up AT+NREC behavior and APIJohan Hedberg2008-12-041-1/+19
| | | | | | In HFP 1.5 only AT+NREC=0 should be possible, but to accomodate for future profile changes make the telephony.h API such that AT+NREC=1 is possible without breaking the API.
* Fix AT result code syntaxJohan Hedberg2008-11-281-14/+14
| | | | | According to ITU-T V.250 there should be a space after the colon in AT result codes.
* Implement support for AT+NRECJohan Hedberg2008-11-271-0/+16
| | | | | This patch adds support for the AT+NREC command which can be used for disabling noice reduction and echo canceling features on the AG side.
* Fix proble with concurrent clients connecting audio socket.Luiz Augusto von Dentz2008-11-261-6/+27
| | | | | Concurrent connections is needed in order to support clients holding different access locks of the headset, eg. arecord | aplay.
* Fix headset configuration and start.Luiz Augusto von Dentz2008-11-251-11/+17
|
* Make hfp/hsp to suspend properly.Luiz Augusto von Dentz2008-11-251-0/+31
|
* Fix headset_request_stream to check for stream locks.Luiz Augusto von Dentz2008-11-251-1/+6
| | | | | A stream should only be configured if there is no other application holding the lock.
* Fix +BSRF syntaxJohan Hedberg2008-11-191-1/+1
|
* Make use of g_timeout_add_seconds whenever possible.Luiz Augusto von Dentz2008-11-171-8/+12
|
* Fix whitespace in function pointer declarationJohan Hedberg2008-10-241-1/+1
|
* Clear pending ring if calling is stopped before SCO is upJohan Hedberg2008-10-241-3/+12
|
* Use g_dbus_send_message instead of dbus_connection_sendJohan Hedberg2008-10-241-6/+3
|
* Make Headset.Play() succeed if there's a pending HFP triggered SCOJohan Hedberg2008-10-241-0/+4
|
* Don't set the ring timer twiceJohan Hedberg2008-10-241-0/+2
|
* No need to remove the ring timer twice in the terminate call caseJohan Hedberg2008-10-241-10/+0
|
* Also remove ring timer if the HF rejects the callJohan Hedberg2008-10-241-0/+10
|
* Remove the ring timer imediately when ATA is receivedJohan Hedberg2008-10-241-10/+4
|
* Ensure that SCO is up before sending RINGs for inband ringtoneJohan Hedberg2008-10-241-50/+84
|
* Remove bogus functionJohan Hedberg2008-10-241-5/+0
|
* Use g_clear_error(&err) instead of g_error_free(err); err = NULLJohan Hedberg2008-10-241-2/+1
|
* Limit the amount of connected HSP/HFP devices and make it configurableJohan Hedberg2008-10-241-0/+4
| | | | | | | | It's very tricky to get the multiple connected HSP/HFP devices use case right. E.g. in the case of in-band ringtone the specification mandates us to open SCO to the HFP before sending RING indications. So, in the case of multiple connected devices we would have to open multimple simultaneous SCO connections which simply isn't a wise thing to do.
* Implement better support for AT+CHLD=<n>Johan Hedberg2008-10-171-2/+18
|
* Fix indentation levelsJohan Hedberg2008-10-161-13/+13
|
* Rename dbus_connection_emit_property_changed to emit_property_changedJohan Hedberg2008-10-161-11/+9
|
* Fix remaining places to use dict_append_entry tooJohan Hedberg2008-10-161-10/+6
|
* Fix response and hold response logigJohan Hedberg2008-10-091-6/+7
|
* Implement operator selection (AT+COPS) supportJohan Hedberg2008-10-091-34/+71
|
* Make device driver probe calls take UUID's instead of full recordsJohan Hedberg2008-10-091-5/+15
| | | | | This is preparation for allowing the device object to be correctly set up even when we don't have the full service records but only the remote UUID's.
* Fix parameter passing to headset_set_stateJohan Hedberg2008-10-091-1/+1
|
* Check for headset connected state when unregisteringJohan Hedberg2008-10-081-0/+6
| | | | | | | | In theory a headset could be in a connected state when the driver for it gets unregistered. Do proper cleanup in this case (call headset_set_state(hs, DISCONNECTED)). Currently this happens even in practice due to a bug where we incorrectly assume that a device has removed a profile when in fact it's just hiding it while it's connected.
* Reject non-voice calls in headset.cJohan Hedberg2008-10-081-1/+14
| | | | | | 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.
* 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
|
* 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
|
* Mark old plugins API as deprecated.Luiz Augusto von Dentz2008-10-021-11/+16
|
* 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-021-7/+61
|
* 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-021-0/+11
|
* Add support for current call list queryJohan Hedberg2008-10-021-0/+33
| | | | | 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-021-246/+198
| | | | | | 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.