flat assembler
Message board for the users of flat assembler.

Index > Windows > Hilfe bei Sound , wer kann helfen !!

Author
Thread Post new topic Reply to topic
Harald2026



Joined: 13 Apr 2026
Posts: 9
Harald2026 23 Apr 2026, 07:45
Hallo, wie kann ich eine Info bekommen wenn der Sound zu ende ist ??





cmd_open db 'open Musik\Test6.mp3 type MPEGVideo Alias MP3',0 ;Test6.mp3 = Win
cmd_play db 'play MP3',0 ;Test.mid geht auch
cmd_Play_end db 'play MP3 type MPEGVideo Alias MP3',0
cmd_close db 'close MP3',0 ;Test.wav geht auch
NoText db '',0
XText db 'Ende des Lied',0



menu main_menu
menuitem 'Play MP3',My_PlayMP3
menuseparator
menuitem 'Ende',IDM_QUITTER,MFR_END

;menuitem '&A Propos..',IDM_ABOUT,MFR_END

icon main_icon,icon_data,'icons\HARALD01.ico'


MP3Lauf: cmp [Brucke],0
JNE LesAus
IDM_PLAYMP3 = PaintGraf
invoke mciSendString,cmd_close,XText,0,0
invoke mciSendString,cmd_open,NoText,0,0
invoke mciSendString,cmd_play,NoText,0,0
MOV [Brucke],65536
invoke mciSendString,cmd_Play_end,XText,0,0
;invoke mciSendString,cmd_Play_end,XText,timeEndPeriod
Post 23 Apr 2026, 07:45
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.