Sign in to follow this  
Followers 0
insignia96

_Sound Functions and Certain MP3s

3 posts in this topic

Okay, in my current project i am using the AutoIT _sound library to play music. The problem I am having is that certain files, seemingly random ones, will not play. Upon further investigation I managed to extract this error from the MCI dll.

The open failed.
Error Number: 10
Error Description: There is a problem with the device driver.  The driver has closed.  Cannot access error.
Please Note: The sound may still play correctly.

The handle returned is invalid (0) and causes the rest of the program to fail. Why is this happening? I've tried a bunch of stuff and it won't fix it.

EDIT: Works on all other computers i've tried it on, except my laptop! Any specific Reason come to mind.


Visit my website to see all my finished releases!Releases here:UDFs:GUI ResizingColor List (Web Colors)GUIFade_NearestPower

Share this post


Link to post
Share on other sites



insignia96,

Thats a generic error code (not the real one).

I noticed that MCI has problems with variable bitrates - even if the codec exist.

A work-around would be to re-encode to CBR (constant bitrate)


Make yourself sheep and the wolves will eat you - Benjamin Franklin

Share this post


Link to post
Share on other sites

Ah, while due to the problem only being on my test machine, and all my test mp3s working fine at CBR and VBR on all computers besides my own, i think I might have miscoded something.

EDIT: Re-tryed with a minor change and it now works, THANKS!


Visit my website to see all my finished releases!Releases here:UDFs:GUI ResizingColor List (Web Colors)GUIFade_NearestPower

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0