English
Source / code snippets

Play Mp3

 

CompileMarkSeparation
PROC PLAY_MP3

    DECLARE ERROR$
    PARAMETERS DATEI$
    DATEI$=AFZ(DATEI$)
    DATEI$="OPEN "+DATEI$+" TYPE MPEGVIDEO ALIAS AUDIO"
    ERROR$=MCISend$(DATEI$)
    ERROR$=MCISend$("PLAY AUDIO")
    CASE ERROR$ = "":Print "Taste um zu beenden"
    WAITINPUT
    ERROR$=MCISend$("CLOSE AUDIO")
    Case %MCIError: RETURN ERROR$

ENDPROC

DECLARE ERROR$,DATEI$
DEF AFZ(1) add$(add$(@CHR$(34),@$(1)),@CHR$(34))
CLS
WINDOWTITLE "MP3 TEST"
DATEI$=LOADFILE$("MP3-DATEI","*.MP3")
PLAY_MP3 DATEI$

IF $(0) <> ""

    PRINT ERROR$

ENDIF

WAITINPUT
salvo, iF
 
02/15/05  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.593 Views

Untitledvor 0 min.
Gast.081508/25/24
Member 862464104/09/24
H.Brill10/30/23
Tango08/06/21
More...

Themeninformationen

this Topic has 1 subscriber:

iF (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