core: allow flagging ports as 'audio'
Instead of flagging them as 'ignored' so that they aren't probed, we can also flag them as 'audio' now, so that the logic knows which port to report as used for audio in the Call object.
This commit is contained in:
@@ -514,6 +514,7 @@ typedef enum { /*< underscore_name=mm_modem_band >*/
|
||||
* @MM_MODEM_PORT_TYPE_GPS: GPS port.
|
||||
* @MM_MODEM_PORT_TYPE_QMI: QMI port.
|
||||
* @MM_MODEM_PORT_TYPE_MBIM: MBIM port.
|
||||
* @MM_MODEM_PORT_TYPE_AUDIO: Audio port.
|
||||
*
|
||||
* Type of modem port.
|
||||
*/
|
||||
@@ -524,7 +525,8 @@ typedef enum { /*< underscore_name=mm_modem_port_type >*/
|
||||
MM_MODEM_PORT_TYPE_QCDM = 4,
|
||||
MM_MODEM_PORT_TYPE_GPS = 5,
|
||||
MM_MODEM_PORT_TYPE_QMI = 6,
|
||||
MM_MODEM_PORT_TYPE_MBIM = 7
|
||||
MM_MODEM_PORT_TYPE_MBIM = 7,
|
||||
MM_MODEM_PORT_TYPE_AUDIO = 8,
|
||||
} MMModemPortType;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user