Skip to content
Snippets Groups Projects
Commit e5c7c83b authored by ave's avatar ave Committed by dx
Browse files

docs: add audio.line_in_is_connected docs

parent b41bb9c5
No related branches found
No related tags found
1 merge request!202docs: add audio.line_in_is_connected docs
Pipeline #7182 passed
...@@ -43,7 +43,7 @@ bool st3m_audio_headphones_are_connected(void); ...@@ -43,7 +43,7 @@ bool st3m_audio_headphones_are_connected(void);
*/ */
bool st3m_audio_headset_is_connected(void); bool st3m_audio_headset_is_connected(void);
/* Returns true if the lin-in jack is connected to a cable. */ /* Returns true if the line-in jack is connected to a cable. */
bool st3m_audio_line_in_is_connected(void); bool st3m_audio_line_in_is_connected(void);
/* If a sleeve contact mic doesn't pull the detection pin low enough the /* If a sleeve contact mic doesn't pull the detection pin low enough the
......
...@@ -17,6 +17,11 @@ the "headphone" variant is chosen, else the "speaker" variant is chosen. ...@@ -17,6 +17,11 @@ the "headphone" variant is chosen, else the "speaker" variant is chosen.
Returns 1 if headphones with or without microphone were connected to the Returns 1 if headphones with or without microphone were connected to the
headphone jack at the last call of audio_update_jacksense. headphone jack at the last call of audio_update_jacksense.
.. py:function:: line_in_is_connected() -> bool
Returns 1 if the line-in jack was connected at the last call
of audio_update_jacksense.
.. py:function:: headphones_detection_override(enable : bool) .. py:function:: headphones_detection_override(enable : bool)
If a sleeve contact mic doesn't pull the detection pin low enough the If a sleeve contact mic doesn't pull the detection pin low enough the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment