audio devices

Description get audio devices

http://localhost:5000/devices/audio

Example

curl --request GET --url http://localhost:5000/devices/audio

Response

 {
  "in": [
    {
      "api": "ALSA",
      "id": "8eb1",
      "name": "pipewire",
      "native_index": 4
    },
    {
      "api": "ALSA",
      "id": "8e7a",
      "name": "default",
      "native_index": 5
    }
  ],
  "out": [
    {
      "api": "ALSA",
      "id": "ae79",
      "name": "HDA Intel HDMI: 0 (hw:0,3)",
      "native_index": 0
    },
    {
      "api": "ALSA",
      "id": "67fd",
      "name": "HDA Intel HDMI: 1 (hw:0,7)",
      "native_index": 1
    },
    {
      "api": "ALSA",
      "id": "b68c",
      "name": "HDA Intel HDMI: 2 (hw:0,8)",
      "native_index": 2
    },
    {
      "api": "ALSA",
      "id": "ba84",
      "name": "hdmi",
      "native_index": 3
    },
    {
      "api": "ALSA",
      "id": "8eb1",
      "name": "pipewire",
      "native_index": 4
    },
    {
      "api": "ALSA",
      "id": "8e7a",
      "name": "default",
      "native_index": 5
    }
  ]
}

Errors

This API uses the following error codes:

  • 404 Not Found: The requested resource was not found.
  • 503 Modem not running: Modem not running.