Jump to content
Sign in to follow this  

_Sound... functions giving errors

Recommended Posts


im making a media player (because i can't download itunes right now) :blink: and i cant get autoit to play a media file

i these don't work... mp3\m4a ;) and thats the only media formats i have i tried SoundPlay (),and all the _sound... functions they all return 0. any ideas guys?

Share this post

Link to post
Share on other sites


Sound.au3 and its functions work fine with .mp3s - I am listening to my AutoIt music player as I type! :P

And the fact that the built-in SoundPlay does not work either suggests something else is not correct. ;)

Please post the code which gives you the problem - and we will see what we can do to get you up and running (or at least hearing!). :blink:


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites

You didn't create those files with iTunes did you?

That has proved problematic earlier.

Play a file that wasn't created with iTunes and it should work. If it doesn't, post a reproducer and upload a file we can test on.

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