It states in the documenation of LoadSound "the url can be either a string, a stream or a TAudioSample object." I am trying to figure out how to get the LoudSound command to load from a stream but I think I do not have the syntax correct. When i run the program there are no errors, it just doesn't play the music. Listed below is the program:
in=ReadStream("music.ogg")
While Not Eof(in)
sound=LoadSound(in)
PlaySound sound
Wend
CloseStream in
End
Jason
in=ReadStream("music.ogg")
While Not Eof(in)
sound=LoadSound(in)
PlaySound sound
Wend
CloseStream in
End
Jason