Confirmed users
220
edits
| Line 17: | Line 17: | ||
=== Basic Port Interface === | === Basic Port Interface === | ||
enum InputPortType { "audio", "av", "displayport", "dvi", "hdmi" }; | enum InputPortType { "audio", "av", "displayport", "dvi", "hdmi" }; | ||
enum AudioFormat { "LPCM", "Dolby Digital" }; | |||
enum VideoFormat { "480i", "480p", "720p", "1080i", "1080p" }; | enum VideoFormat { "480i", "480p", "720p", "1080i", "1080p" }; | ||
interface InputPort { | interface InputPort { | ||
sequence<AudioFormat> getSupportedAudioFormats (); | |||
sequence<VideoFormat> getSupportedVideoFormats (); | sequence<VideoFormat> getSupportedVideoFormats (); | ||
readonly attribute DOMString name; | readonly attribute DOMString name; | ||
| Line 47: | Line 49: | ||
<u>'''Methods'''</u><br /> | <u>'''Methods'''</u><br /> | ||
'''getSupportedAudioFormats'''<br /> | |||
Return the audio formats supported by this input port. Formats should vary on different types of input port. | |||
'''getSupportedVideoFormats'''<br /> | '''getSupportedVideoFormats'''<br /> | ||
Return the video formats supported by this input port. | Return the video formats supported by this input port. Formats should vary on different types of input port. | ||
=== Specific Port Interfaces === | === Specific Port Interfaces === | ||