[quote="brett":upe9p1g0]they come with MSVC dsp projects. what C compiler would you be using?
I should probably have a bin directory with the examples pre-compiled like fmod3, i forgot about that.[/quote:upe9p1g0]
My mistake, the DSP icons had the same icon as the source files. ^_^;
[b:upe9p1g0]Edit:[/b:upe9p1g0] I tested playstream, my test OGG file crashes playstream in fmodex.dll at startup. MP3s work fine.
[b:upe9p1g0]Edit 2[/b:upe9p1g0]: Further testing allowed me to get it to run in the VC++ debugger, but the audio contains artifacts.
The crash occurs in what appears to be the FMod mixer thread:
Unhandled exception at 0x10025fda (fmodex.dll) in playstream.exe: 0xC0000005: Access violation writing location 0x00340b1c.
While the C++ code is waiting in Sleep().
[quote="brett":1274yxvl]maybe it is your ogg. let me see it.
what machine have you got? is it slow?[/quote:1274yxvl]
Athlon XP 1800+, 768MB RAM, WinXP Pro SP2, Audigy1 (maybe that’s it? I think I might be using hardware mode, and the Audigy sucks)
My stupid ISP is blocking port 21, so I’ll have to send it to you somehow.
I’ve tried various OGGs, it seems to have a problem with the ones I’ve bought from AllOfMP3 in particular (though all OGGs have playback artifacts)
I’ve uploaded an example of using FMod EX in Visual Basic, along with the necessary type library. Just drag-and-drop an audio file from Explorer into the textbox, and click Play.
[b:k8oml8jn]Edit:[/b:k8oml8jn] Crap. Looks like you made a change between 5 and 6 that I didn’t catch. I’ll have to fix that.
[b:k8oml8jn]Edit 2:[/b:k8oml8jn] Fixed.
I took the _cdecl’s out of the type library and VB’s IDE doesn’t crash anymore. My test app seems to run fine, though I won’t be able to check the audio output until I get home. I still need to do a diff of the headers to see what you added and changed, though, since my header is for 0.5.
[quote="brett":1gmeccno]Also some platforms dont even support stdcall. :x[/quote:1gmeccno]
Ouch… sorry about the hassle :X
Could I possibly get the alpha 5 fmod.h? I accidentally overwrote mine with v6 so I can’t do a diff now.
P.S. OGG playback is still crashing for me, though I can get about a second of audio out of an OGG stream now before it crashes. It doesn’t seem to affect all OGGs, but something is definitely odd about OGG playback. OGGs that don’t crash FMod EX seem to skip a bit.
WMA and MP3 streams both seem to play back perfectly, with the exception of DRMed WMA files which don’t load (some sort of error, haven’t checked what… not a big suprise there)
I tried reproducing the OGG crash in Virtual PC but I didn’t have any luck. The audio still skipped a bit, but it didn’t crash. So my ogg issue might be somehow related to my system configuration (perhaps because I have an OGG directshow decoder installed?)
[quote="brett":2ri99wlh]You will have to send an email to firstname.lastname@example.org if you want the older header.
As for ogg, I have about 24 test oggs and they are all perfect. I dont think there is a problem here, what is it about your oggs? Is it the fact that it is VB? Try the fmod playstream example.
FMOD doesnt use directshow[/quote:2ri99wlh]
How are we supposed to build the examples? Just make a project and add the appropriate link libs? I don’t see any workspaces or makefiles.
Please login first to submit.