English
Includes

MCIClass.inc

 


Description:

The MCIClass.inc contains fundamental modes to that Play of div. Media-Formaten by MCI. which Formate, depends from the installierten Codecs ex. with installed Media-Player can z.B. *.wmv or *.mpg Play. Desweiteren naturally Sounddateien (WAVE, MP3 etc.)




Deklaration:

$I MCIClass.inc
Declare MCI#
Dim MCI#, MCI




The most important modes:

MCI.Load(Nb&, FileName$)
MCI.Play(Nb&)
MCI.interval(Nb&)
MCI.Stop(Nb&)
MCI.Free(Nb&)
MCI.GetStatus(Nb&)
.GetStatus can following values suppose:
%MCI_UnKnown 0
%MCI_Stopped 1
%MCI_Playing 2
%MCI_Paused 3

further modes:

MCI.PlayStart, MCI.PlayPart, MCI.Resume, MCI.SetVolume, MCI.GetVolume, MCI.Seek, MCI.GetLength, MCI.GetPosition


example:

 $I MCIClass.inc
Declare MCI#, way$
Dim MCI#, MCI
Window Title "Simple Mini-MP3-Player"
Window Style 31
Window 100, 100 - 370, 50
ClearList
Pfad$ = $ ChooseDir("Bitte MP3-Ordner dial:")

If way$ <> ""

    AddFiles "*.mp3"

Else

    Dispose MCI#
    End

EndIf

Print " to that terminate, simply Window schließen"

WhileLoop 0, %GetCount

    Window Title FindFirst$(ListBoxItem$(&Loop))

    With MCI#

        .Load(1, ListBoxItem$(&Loop))
        .Play(1)

        While .GetStatus(1) = %MCI_Playing

            Sleep 100

        EndWhile

        .Free(1)

    EndWith

EndWhile

Dispose MCI#

2 kB
Hochgeladen:05/24/05
Downloadcounter309
Download
 
05/24/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.828 Views

Untitledvor 0 min.
Member 862464105/12/24
Gast-081508/15/21
H.Brill10/24/20
Andre Rohland07/24/18
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie