-
Re: audio player
*double checking recent posts*
Yes, well I'm sorry. The PlaySound-statement should be
Code:
PlaySound f$, 0, SND_SYNC
where the call won't return until the file is played to the end.
Code:
PlaySound f$, 0, SND_ASYNC OR SND_NOSTOP
will play the file in background, without stopping the previously startet PlaySound.
I know this is not quite yet what you want, but try this out and tell if you got any sound playing, then we continue and look for something to determine the end of playing and start playing the next song in the list.
-
Re: audio player
i have tryed what was posted and it still dosn't work.
would it be better if i used a media player controle
-
1 Attachment(s)
Re: audio player
You could try DirectSound. This played the avi in vista
-
Re: audio player
This looks interesting, David, but overlooking the code, it will refuse to play .wma files. It only accepts .mp3 for audio.
I shall get me a .wma and try if it will be played, too.
-
Re: audio player
thaks for all the help it was much apreciated.
i have know got the program working an i am so pleased but i couldent have done it without all of you once again thank you