### Author Topic: Bundle and Play XM File As Resource  (Read 4921 times)

#### sinsi

• Member
• Posts: 1072
##### Off topic
« Reply #30 on: November 24, 2017, 08:23:05 PM »
Quote
Honestly, 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
I can walk on water but stagger on beer.

#### AW

• Member
• Posts: 1519
• Let's Make ASM Great Again!
##### Re: Off topic
« Reply #31 on: November 24, 2017, 09:35:33 PM »
Quote
Honestly, 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

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

#### dedndave

• Member
• Posts: 8808
• Still using Abacus 2.0
##### Re: Bundle and Play XM File As Resource
« Reply #32 on: November 24, 2017, 10:21:17 PM »
good to hear from you, as always, Marinus

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
i know you are thinking received audio, SDR, DSP, etc

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

• Member
• Posts: 1674
##### Re: Bundle and Play XM File As Resource
« Reply #33 on: November 25, 2017, 02:23:24 AM »

Creative coders use backward thinking techniques as a strategy.

#### DavidB

• Regular Member
• Posts: 17
##### Re: Off topic
« Reply #34 on: November 25, 2017, 06:20:00 AM »
Quote
Honestly, 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
Yeah, that's what I was thinking too. But at least he was helpful. His Visual Studio project has been very useful even though it doesn't open properly.

Quote
Honestly, 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

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

#### DavidB

• Regular Member
• Posts: 17
##### Re: Bundle and Play XM File As Resource
« Reply #35 on: November 25, 2017, 09:54:15 AM »
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:

Code: [Select]
`undefined symbol : SND_ASYNCINVOKE argument type mismatch : argument : 3`
This is the PlaySound line that I am trying to test with.
Code: [Select]
`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

• Member
• Posts: 8773
• Assembler is fun ;-)
##### Re: Bundle and Play XM File As Resource
« Reply #36 on: November 25, 2017, 03:41:15 PM »
What do you get from a forum search for PlaySound?

#### DavidB

• Regular Member
• Posts: 17
##### Re: Bundle and Play XM File As Resource
« Reply #37 on: November 25, 2017, 03:43:53 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

• Member
• Posts: 1851
##### Re: Bundle and Play XM File As Resource
« Reply #38 on: November 25, 2017, 07:38:46 PM »
Hi DavidB,

Code: [Select]
`SND_ASYNC equ 1h`

#### LiaoMi

• Member
• Posts: 320
##### Re: Bundle and Play XM File As Resource
« Reply #39 on: November 25, 2017, 08:29:44 PM »
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

• Member
• Posts: 1674
##### Re: Bundle and Play XM File As Resource
« Reply #40 on: November 25, 2017, 09:30:51 PM »
Hi LiaoMi,

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

Creative coders use backward thinking techniques as a strategy.

#### LiaoMi

• Member
• Posts: 320
##### Re: Bundle and Play XM File As Resource
« Reply #41 on: November 25, 2017, 11:02:20 PM »
Hi LiaoMi,

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