get-audio-card-mixer

Use the interface to get the attribute of the audio card.

Request Mode

POST http://ip/mwapi/get-audio-card-mixer
{
  "card": 0,
}
Parameter Description
card The ID of the audio card

Response Body

{
    "status": 0,
    "mixer": [
        {
            "name": "Headphone",
            "id": 0,
            "val": 100,
            "flag_c": false,
            "flag_p": true
        },
        {
            "name": "Line Gain",
            "id": 5,
            "val": 100,
            "flag_c": false,
            "flag_p": true
        },
        {
            "name": "Mic Gain",
            "id": 7,
            "val": 100,
            "flag_c": false,
            "flag_p": true
        },
        {
            "name": "Mic",
            "id": 14,
            "val": 100,
            "flag_c": true,
            "flag_p": false
        },
        {
            "name": "Line",
            "id": 15,
            "val": 100,
            "flag_c": true,
            "flag_p": false
        }
    ]
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
mixer The audio card attribute list
Name Description
name The attribute name
id The ID of the attribute
val The value of the attribute (0 - 100)
flag_c Whether it is the captured volume.
True: Yes
False: No
flag_p Whether it is the played volume.
True: Yes
False: No

results matching ""

    No results matching ""