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.