|
|
|
|
|
The MCI functions are as follows: | | MCIBeginning | Positions at the beginning of a media file that was opened beforehand MCIOpen. | MCIClose | Closes a media file. | MCIEnd | Positions at the end of a media file that was opened beforehand MCIOpen. | MCIErr | Returns the number of the last error caused by a MCI function (Media Control Interface). | MCIExecute | Runs an MCI command (Media Control Interface). | MCIHeight | Returns the height (in pixels) of a media file used to display images. | MCIMsgErr | Returns the caption of the last error that occurred on a MCI function (Media Control Interface). | MCIOpen | Opens a media file. | MCIPause | Pauses playback of the media file previously opened (MCIOpen). | MCIPlay | Plays a media file. | MCIPosition | Returns or changes the current position in a media file previously opened (MCIOpen). | MCIPositionFormat | Fixes the format used to define the position in a media file (opened by MCIOpen). | MCIRetrieve | Returns the last result of the MCI command run by MCIExecute. | MCISize | Returns or changes the size of a media file previously opened (MCIOpen). | MCIStatus | Returns the status of a media file that was opened beforehand MCIOpen. | MCIStopPlaying | Stops the execution of a media file that was opened beforehand (MCIOpen). | MCITrack | Returns the current track of a media file previously opened (MCIOpen). | MCITrackCount | Returns the number of tracks found in a media file that was opened beforehand (MCIOpen). | MCIVolume | Modifies or returns the sound volume. | MCIWidth | Returns the width (in pixels) of a media file used to display images. | MCIWindowSize | Changes the size and position of the display window of a media file previously opened (MCIOpen). |
Related Examples:
|
Unit examples (WINDEV): Play a sound
[ + ] Using sound from a WINDEV application: - Play a sound - Pause the sound - Stopping the video - Modify the volume
|
|
Unit examples (WINDEV): Play a video
[ + ] Playing a video from a WINDEV application: - Load a video - Playing a video - Pause a video - Stop a video
|
|
Unit examples (WINDEV): The MCI functions
[ + ] Using the WLanguage MCI functions. These functions are used to record and play sounds. The following topics are presented in this example: 1/ how to create and save a sound file with WINDEV 2/ how to read a sound file with WINDEV. This example presents the features of a tape recorder. It is used to record a sound in "wav" format and to play it back. You can give the users the ability to record alert sound messages or reports (medicine, management,…).
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|