'\" t .\" Title: drm_detect_monitor_audio .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Core .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "DRM_DETECT_MONITOR_A" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "DRM Core" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" drm_detect_monitor_audio \- check monitor audio capability .SH "SYNOPSIS" .HP \w'bool\ drm_detect_monitor_audio('u .BI "bool drm_detect_monitor_audio(struct\ edid\ *\ " "edid" ");" .SH "ARGUMENTS" .PP \fIedid\fR .RS 4 EDID block to scan .RE .SH "DESCRIPTION" .PP Monitor should have CEA extension block\&. If monitor has \*(Aqbasic audio\*(Aq, but no CEA audio blocks, it\*(Aqs \*(Aqbasic audio\*(Aq only\&. If there is any audio extension block and supported audio format, assume at least \*(Aqbasic audio\*(Aq support, even if \*(Aqbasic audio\*(Aq is not defined in EDID\&. .SH "RETURN" .PP True if the monitor supports audio, false otherwise\&. .SH "AUTHORS" .PP \fBJesse Barnes\fR <\&jesse.barnes@intel.com\&> .br Intel Corporation, .RS 4 Initial version .RE .PP \fBLaurent Pinchart\fR <\&laurent.pinchart@ideasonboard.com\&> .br Ideas on board SPRL, .RS 4 Driver internals .RE .PP \fBDaniel Vetter\fR <\&daniel.vetter@ffwll.ch\&> .br Intel Corporation, .RS 4 Contributions all over the place .RE .SH "COPYRIGHT" .br