diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-15 12:35:11 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-15 13:19:10 +0200 |
commit | e3a1364ddc43e13fe86e98dfca24ef7f6f267b38 (patch) | |
tree | 9f3408bbd8b6d98f67d38ca460ee320a1dadf549 /src/mm-port.h | |
parent | d61cb4a21cc1f3509c54f841e2eafafc3ea9a4a9 (diff) |
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.
Diffstat (limited to 'src/mm-port.h')
-rw-r--r-- | src/mm-port.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-port.h b/src/mm-port.h index 80463294..33b07d97 100644 --- a/src/mm-port.h +++ b/src/mm-port.h @@ -41,7 +41,8 @@ typedef enum { /*< underscore_name=mm_port_type >*/ MM_PORT_TYPE_GPS, MM_PORT_TYPE_QMI, MM_PORT_TYPE_MBIM, - MM_PORT_TYPE_LAST = MM_PORT_TYPE_MBIM /*< skip >*/ + MM_PORT_TYPE_AUDIO, + MM_PORT_TYPE_LAST = MM_PORT_TYPE_AUDIO /*< skip >*/ } MMPortType; #define MM_TYPE_PORT (mm_port_get_type ()) |