I want to make sure I am not going crazy or doing something wrong. (Both of which are equally possible.)
I am noticing that I cannot get the "sound" keyword to work in one version of the Windows version of the Hugo Engine, but I can in another. More specifically, I am finding that the "sound" keyword does work in versions of hewin.exe that have the following information in the Help -> About:
Hugo Engine v3.1 - Win32 build (Aug 7 2004)
However, I find that I cannot get sounds to play via the "sound" keyword in versions of hewin.exe that have the following information in the Help -> About:
Hugo Engine v3.1.01 - Win32 build (Sep 18 2004)
When I say I cannot "get it to work", I mean that sounds will not play at all. Note, however, that the "music" and "video" keywords work just fine, in terms of music or videos being played. So this appears to be limited to just the use of "sound".
[ISSUE] sound keyword in 3.1.01 of hewin.exe
Moderators: Ice Cream Jonsey, joltcountry
-
- Posts: 55
- Joined: Wed May 05, 2004 4:35 am
- Location: Chicago, IL
- Contact:
Sorry for taking so long to follow up on this--out of town on top-secret government business over Christmas and all.
Anyway, I can't seem to replicate what you're seeing. The Sep. 18 build of the engine is what ships with the CD-ROM of Future Boy!, for instance, and it seems to work fine.
Can you give me any more details on how your resources are set up, etc.? Is there any chance that you have two copies of your .hex file, in different directories?
Anyway, I can't seem to replicate what you're seeing. The Sep. 18 build of the engine is what ships with the CD-ROM of Future Boy!, for instance, and it seems to work fine.
Can you give me any more details on how your resources are set up, etc.? Is there any chance that you have two copies of your .hex file, in different directories?
-
- Posts: 55
- Joined: Wed May 05, 2004 4:35 am
- Location: Chicago, IL
- Contact:
Let me double-check everything.
Essentially, what I did was just double-check the stuff I had written in my tutorial; making sure everything compiled. When I got to the sound part, I realized that sound was not playing on my desktop machine but it was on my laptop. The only difference was the two builds of the engine.
That said, I am not noticing a problem with pre-existing games. I am sure there is not a duplicate .hex file around but that does not rule out that I was just doing something else odd. I will double-check.
Essentially, what I did was just double-check the stuff I had written in my tutorial; making sure everything compiled. When I got to the sound part, I realized that sound was not playing on my desktop machine but it was on my laptop. The only difference was the two builds of the engine.
That said, I am not noticing a problem with pre-existing games. I am sure there is not a duplicate .hex file around but that does not rule out that I was just doing something else odd. I will double-check.
-
- Posts: 55
- Joined: Wed May 05, 2004 4:35 am
- Location: Chicago, IL
- Contact:
Hmm. As I look, I wonder if my problem is not with the compiler rather than the engine. The compiler on my one machine is v3.1 and I am finding that if I compile the examples with the sound keywords, it works with both engine builds.
However, if I compile with the compiler that is designated v3.1.01, then I get the problem where the sound is not playing. Again, however, only if the sound was specified via the sound keyword. Resources specified by the music keyword are working.
Maybe this is just some funky thing with my setup.
However, if I compile with the compiler that is designated v3.1.01, then I get the problem where the sound is not playing. Again, however, only if the sound was specified via the sound keyword. Resources specified by the music keyword are working.
Maybe this is just some funky thing with my setup.
-
- Posts: 55
- Joined: Wed May 05, 2004 4:35 am
- Location: Chicago, IL
- Contact:
Sorry for the delayed response on this.Hugella wrote:Speaking of bug-tracking, was there ever any resolution to your problem?
It looks like the issue was most likely with me. I am not sure what happened, yet. The obvious idea would be that I had the sound files placed incorrectly or the resource routine written incorrectly. That does not seem to be the case. So I am a bit at a loss to see what was happening.
Currently I cannot reproduce the problem at all so I have to believe the problem was with something I was doing since the functionality clearly works.
- Jeff
same problem here
Yup - same exact problem. As soon as I switched to PlayMusic it worked like a charm. Wonder what the problem is?
oh - forgot
By the way, debuging stepwise revealed that there was a DirectSound error. I am very new to programming with Windows, so I have no idea what that means (other than there is probably a sound driver compatibility problem)