Media Control Interface: Difference between revisions

Content deleted Content added
clarify
Adding local short description: "API for controlling multimedia peripherals", overriding Wikidata description "API for controlling multimedia peripherals connected to a Microsoft Windows or OS/2 computer"
 
(25 intermediate revisions by 20 users not shown)
Line 1:
{{Short description|API for controlling multimedia peripherals}}
{{Wikify|date=February 2010}}
The '''Media Control Interface''' -'''MCI''' for short - is an aginga high-level [[API]] developed by [[Microsoft]] and [[IBM]] for controlling [[multimedia]] [[peripheral]]s connected to a [[Microsoft Windows]] or [[OS/2]] computer, such as [[CD-ROM]] players and audio controllers.
 
MCI makes it very simple to write a program which can play a wide variety of media files and even to record sound by just passing commands as [[string (computer science)|string]]s. It uses relations described in Windows registries or in the [MCI] section of the file SYSTEM{{mono|system.INIini}}. One advantage of this API is that MCI commands can be transmitted both from the programming language and from the scripting language (open script, lingo aso). Example of such commands are ''{{mono|mciSendCommand''}} or ''{{mono|mciSendString''}}.
The '''Media Control Interface''' -'''MCI''' for short - is an aging high-level [[API]] developed by [[Microsoft]] and [[IBM]] for controlling [[multimedia]] [[peripheral]]s connected to a [[Microsoft Windows]] or [[OS/2]] computer, such as [[CD-ROM]] players and audio controllers.
 
{{As of | 2011 | alt = After a few years}}, the MCI interface has been phased out in favor of the [[DirectX]] APIs first released in 1995.<ref>{{cite book|title=Multimedia Technologies|isbn=9780070669239|pages=55|url=https://books.google.com/books?id=p2tFpmqQ7zMC&q=MCI+DirectX&pg=PA55|access-date=2017-11-29|date=2010|author1=Banerji|publisher=McGraw-Hill Education (India) Pvt Limited }}</ref>
MCI makes it very simple to write a program which can play a wide variety of media files and even to record sound by just passing commands as [[string (computer science)|string]]s. It uses relations described in Windows registries or in the [MCI] section of the file SYSTEM.INI. One advantage of this API is that MCI commands can be transmitted both from the programming language and from the scripting language (open script, lingo aso). Example of such commands are ''mciSendCommand'' or ''mciSendString''.
 
{{As of | 2011 | alt = For a number of years}} the MCI interface has been phased out in favor {{Citation needed|date=January 2009}} of the [[DirectX]] APIs first released in 1995.
 
== MCI Devices ==
 
The Media Control Interface consists of 47 parts:
*cdaudio
*digitalvideo
Line 18 ⟶ 17:
*waveaudio
 
Each of these so-called MCI devices (ege.g.CD rom[[CD-ROM]] or vcdVCD player) can play a certain type of files, e.g. {{mono|AVIVideo}} plays {{mono|.avi}} files, {{mono|CDAudio}} plays cd[[CD-DA]] tracks among others. Other MCI devices have also been made available over time.
 
== Playing media through the MCI interface ==
Line 27 ⟶ 26:
*Extended Commands
 
A full list of MCI commands can be found at [https://web.archive.org/web/20080905211931/http://msdn2.microsoft.com/en-us/library/ms712587.aspx Microsoft's MSDN Library].
 
== See also ==
* [[DirectShow]]
 
==References==
{{reflist}}
 
==External links==
*[http://msdn.microsoft.com/en-us/library/ms709461(VS.85).aspx Microsoft MCI Reference] - MSDN Library
 
{{Microsoft_Windows_components}}
 
[[Category:Microsoft application programming interfaces]]
[[Category:Microsoft Windows multimedia technology]]
 
[[Category:Multimedia frameworks]]
 
{{windows-stub}}
 
[[de:Media Control Interface]]
[[fr:Media Control Interface]]
[[pl:Media Control Interface]]
[[ru:MCI (интерфейс)]]