News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Bundle and Play XM File As Resource

Started by DavidB, November 21, 2017, 05:06:26 PM

Previous topic - Next topic

sinsi

QuoteHonestly, you don't appear to have life for IT, but you are really good at judging people.
Don't get many better examples of irony than this  :t

aw27

Quote from: sinsi on November 24, 2017, 08:23:05 PM
QuoteHonestly, you don't appear to have life for IT, but you are really good at judging people.
Don't get many better examples of irony than this  :t

As Confucio said, when a wise man points at the moon the fool looks at the finger .  :t

dedndave

good to hear from you, as always, Marinus

Quote from: Siekmanski on November 24, 2017, 05:13:32 PM
The XM file format is probably not what you want for ham radio stuff.

yah - but the wave functions may be useful for generating morse code   :P
i know you are thinking received audio, SDR, DSP, etc

Quote from: Siekmanski on November 24, 2017, 05:13:32 PM
Do you have an ASIO sound card?

no - well, not that i know of
i have a new machine in a box i haven't opened yet
i have to move some things around to make space
no time to play, lately  :(

Siekmanski

Creative coders use backward thinking techniques as a strategy.

DavidB

Quote from: sinsi on November 24, 2017, 08:23:05 PM
QuoteHonestly, you don't appear to have life for IT, but you are really good at judging people.
Don't get many better examples of irony than this  :t
Yeah, that's what I was thinking too. :greenclp: But at least he was helpful. His Visual Studio project has been very useful even though it doesn't open properly.


Quote from: aw27 on November 24, 2017, 09:35:33 PM
Quote from: sinsi on November 24, 2017, 08:23:05 PM
QuoteHonestly, you don't appear to have life for IT, but you are really good at judging people.
Don't get many better examples of irony than this  :t

As Confucio said, when a wise man points at the moon the fool looks at the finger .  :t
Aww, come on now. What's wrong with pointer variables? They can be quite useful!  :lol:

DavidB

I was finally able to get the XM file to play as part of my program. I want to thank everyone who contributed. Even those of you whom I don't get along very well with.

I am now trying add a WAV file that I want to have play. To do this, I am trying to "invoke PlaySound...", but I am getting an "undefined symbol: PlaySound" error. I tried resolving this by adding "include winmm.inc" (I have winmm.lib configured in the linker, so I don't have the "includelib" line for that.) This resolved the undefined symbol error, but now I have a bunch of "label clash" warnings and two errors:

undefined symbol : SND_ASYNC
INVOKE argument type mismatch : argument : 3


This is the PlaySound line that I am trying to test with.
invoke PlaySound,NULL,NULL,SND_ASYNC
I realize that this will not actually play any sound, but I want to get the program to at least assemble before I worry about that.

jj2007


DavidB

Quote from: jj2007 on November 25, 2017, 03:41:15 PM
What do you get from a forum search for PlaySound?
Nothing useful I'm afraid. I'm under the impression that whatever the problem is, uFMOD is the culprit.

Vortex

Hi DavidB,

Reading \masm32\include\windows.inc :

SND_ASYNC equ 1h

LiaoMi

Hi everybody,

I was looking in Google for a library miniufmod x64, which can be integrated into projects on x64 bit systems. There were many topics with a similar question, I believe that there is no such version, but can I find somewhere the source code of the miniufmod library?!

Siekmanski

Hi LiaoMi,

Are you sure it is named miniufmod? couldn't find anything other than ufmod.

https://sourceforge.net/projects/ufmod/files/latest/download

Creative coders use backward thinking techniques as a strategy.

LiaoMi

Quote from: Siekmanski on November 25, 2017, 09:30:51 PM
Hi LiaoMi,

Are you sure it is named miniufmod? couldn't find anything other than ufmod.

https://sourceforge.net/projects/ufmod/files/latest/download

Hi,

yes  :biggrin:, I was wrong in the name, everything mixed together, correct name minifmod  :icon_exclaim: here from this company https://www.fmod.com

Siekmanski

For the free option you need to register for the fmod.dll and  only use it in one production per year.  :(
Creative coders use backward thinking techniques as a strategy.