[quote="irbis":582stvan]First of all i am a bit disapointed that Construct cant play mp3 file but oh well.[/quote:582stvan]
Construct most certainly does support mp3s. Use the "play music" action to do so. One look at the Xaudio wiki page
clarifies which formats are supported.
[quote="irbis":582stvan]i am trying to play a sound effects here and it either doesn play or play badly.
whenever i try playing wav files (and they are metting all the requaired prosperities) they just dont play.
when i try to use ogg they DO play but the sound is not only bad quality (like being riped and twirled or like 1 milisecond echo) but have that ugly pick at the end when it ends playing.
when i preview the wav it plays just right.
when i preview the ogg - Construct crashes or just doesnt start previewing
runing the game with debugger and wav sound leaves me with such window:
Debugger first-time message:
XAudio2: Failed to load file from disk. Check the filename exists and that file is of a supported format. (0x80004005)
any idea what the heck? and i would gladly use that XAudio2 tutorial from the wiki but the link is dead or broken leaving me with 404 error.[/quote:582stvan]
Do you have specified the correct path to your sound file? It should be apppath&"filename.xyz" if the sound file is in the same directory as the cap file.