---
name: "drm_detect_monitor_audio"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_detect_monitor_audio"
---

# drm\_detect\_monitor\_audio(9)

check monitor audio capability

## NAME

drm\_detect\_monitor\_audio - check monitor audio capability

## SYNOPSIS

**bool drm\_detect\_monitor\_audio(struct edid \*** *edid***);**

## ARGUMENTS

*edid*

EDID block to scan

## DESCRIPTION

Monitor should have CEA extension block. If monitor has 'basic audio', but no CEA audio blocks, it's 'basic audio' only. If there is any audio extension block and supported audio format, assume at least 'basic audio' support, even if 'basic audio' is not defined in EDID.

## RETURN

True if the monitor supports audio, false otherwise.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
