Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

InetGet() in background and _SoundPlay()

$
0
0
Well, I'm trying to write an online MP3 player, the goal is to play the MP3 file from an URL.
[size=4]
[/size]
http://www.afk-manager.ir/test/Listen.mp3


My idea, is simple, download the file with InetGet() in the background, and play it using _SoundPlay() while the script is downloading.

However, the idea doesn't work!!! _SoundPlay() simply fails. I have also tested it with _SoundOpen(), it fails too with an error value of 1 which is "MCI open error", and I have no idea what even MCI is.

Any idea, suggestion, work around etc is warmly welcomed.
Thanks in advance.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>