0
0

That’s a pretty dead link if you ask me…

  • You must to post comments
0
0

How do we use this managed interface in visual studio.net 2003?

  • You must to post comments
0
0

In fact, I’m using FmodEx now, and it’s working perfectly… so If you find my error, that’s cool, I’ll use FMOD 3 too, but it’s not very important :)

  • You must to post comments
0
0

how to use fmod managed??it doesent hawe any samples…Can you maby sent me some examples??

thanks…

  • You must to post comments
0
0

hi…

send me your source code (in PM).

I do not reaply your problem…

Tnx!

ps
sorry for my english… :(

  • You must to post comments
0
0

I got an error using sound wrapper in .net on HP ipaq h1915..When trying to initailaze next error is ocuring…

A managed NullReferenceException occured at form1::.ctor+0x29

Form1:::ctor+0x29
Form1:::Main+0xa

OK to terminate

It seems to be problem with sample rate,buth i change it and it still come with same error..

Please help!!

Thanx.

  • You must to post comments
0
0

Before sending the code (that is really complex, because it is part of a big mess… that works with other decoders, such as FmodEx..), could you tell me how you did use the callback for DSP (you said you tried to reproduce the “bug”..) ?

I don’t know how to set up a callback for the dsp, tu capture the samples while they are read…

thanks

  • You must to post comments
0
0

[quote="dariofmod":3pi1axmw]how to use fmod managed??it doesent hawe any samples…Can you maby sent me some examples??

thanks…[/quote:3pi1axmw]

Hi ๐Ÿ˜€

Sorry. I’m not in my house today. Tomorrow i send sample…

For you error mmm… you can send a sample your code?

tnx

  • You must to post comments
0
0

I am new to the FMOD.NET thing, arn’t we all ?

But I must say it looks promising.
How ever, I cant figure out how to get the callback to work.

I am using a deligate issn’t this the way its done ?
FmodManaged.FSOUND.Function.Stream.FSOUND_Stream_SetEndCallback(PlayerStream,new EndFile(EndFileFunction).Method.MethodHandle.GetFunctionPointer(), IntPtr.Zero);

This does not work, infact it litteraly crashes my session !

-maZZoo

  • You must to post comments
0
0

I am using the same code as in test sample for sound.dll wraper, I build wraper with fmodce.dll and in test example code i only changed line with mixRate:

InitializeComponent();
sound = new SoundEngine();
sound.Initialize(22050,16, 0);
s = new SoundStream(“\Windows\test.mp3”, Modes.Hardware2D);
sample = new Sample(“\Windows\tada.wav”, Modes.Bits16 | Modes.Stereo);
c = new Channel(s, sound);
d = new Channel(sample, sound);

  • You must to post comments
0
0

I’m using goldfix’s FmodManaged.dll, and I’m having problems with FSOUND_Stream_GetTagField. Here’s the declaration from Function.Stream.cs:

[DllImport (“fmod.dll”)]
public static extern bool FSOUND_Stream_GetTagField(IntPtr FSOUND_STREAM_stream,int num,ref FmodManaged.FSOUND.Enums.FSOUND_TAGFIELD_TYPE type,ref string name,IntPtr val,ref int length);

And here’s the bit of code I’m using to try this function out:

        FmodManaged.FSOUND.Enums.FSOUND_TAGFIELD_TYPE Ftype = new FmodManaged.FSOUND.Enums.FSOUND_TAGFIELD_TYPE();
        IntPtr val = new IntPtr(0);
        string name = "";
        int num = 1;
        int length = new int();
        FmodManaged.FSOUND.Function.Stream.FSOUND_Stream_GetTagField(i,
            num,ref Ftype,ref name,val,ref length);

These are the variable values after stepping through the function:

Ftype = FSOUND_TAGFIELD_ID3V1
length = 12
name = “ARTIST”
val = 0

So it seems that everything is working except for using IntPtr for val. Am I doing something incredibly stupid?? Is there a way to make this work? Any help would be appreciated…

Thanks…
Lance

  • You must to post comments
0
0

Hi,Me again..

That error i Posted before is not as I post..I it almost same but it come with fmod error line,and error initilazing sound engine..Probaly i dont declare everything correctly..Or maby i chosse wrong fmod wersion.I hawe HP IPAQ 1915 ,and I am not sure should i use ARM,MIPS,SH3 OR X86,and also what version of windows to use,WINCE,WINCE4 OR WINCE211…That confuse me.If fmod wersion is not ptoblem,than i declare something wrong.I despertly need some help because i work an mp3 player for pocket pc for my final year project in high school..If anyboy make fmodce working with vb.net please send me the code.My email is dario.habulin@hi.hinet.hr..Thanks.

  • You must to post comments
0
0

Ok… Figured it out.

In the declaration of FSOUND_Stream_GetTagField in the FmodManaged.dll, I had to change the “Val” parameter from IntPtr to ref string.

  • You must to post comments
0
0

Hi! ๐Ÿ˜€

New version for FmodManaged:
http://www.goldfix.it/fmodmanaged/fmodmanaged_0600.rar

8)

Version:

0.5.0.0: First Version
0.6.0.0 (this ver.): Add: 3D Function
Add: Documentation XML Code (approximately 40-45%)
Correct: CD Function

  • You must to post comments
0
0

EDIT: posted in the wrong thread :p

I did make a modification to goldfix’s wrapper, though: I changed FSOUND_Stream_SetSubStreamSource from taking a ref int to an int*. You have to use unsafe code, but it’s the only way I could get it to work.

  • You must to post comments
0
0

Hi ! ๐Ÿ˜€

new version… 8)
http://www.goldfix.it/fmodmanaged/fmodmanaged_0700.rar

0.7.0.0
Re-Implement: Enums
Re-Implement: Struct
Re-Implement: Callbacks
Correct: FMUSIC.Function.Control (return value: FMUSIC_StopSong)
Add: Documentation XML Code (approximately 85%)

  • You must to post comments
0
0

I tried the managed 0.7.5 wrapper in visual studio 2005, and everything seems fine included the conversion need from vs 2003. The problem is that when i run the tester program I can’t hear a sound. Is there something else I need to do first? The compilation did go fine. Sorry I’m quite newbie both in C# and programming in general. Thanks

  • You must to post comments
0
0

Micro update… ๐Ÿ˜€

Ver. 0.7.5.0:
Add: Support for FMOD v. 3.73
Add: Documentation XML Code (approximately 90%)

http://www.goldfix.it/fmodmanaged/fmodmanaged_0750.rar

  • You must to post comments
0
0

Hello

I have a qtek 3810 smartphone with windows mobil 5 on it.
I have tried to write a c# (cf2.0) Application with the fmodmanaged_0750 Wrapper.

Unfortunately I don’t hear anything when i run my app.

Any tips?

THX

[code:3e4lcmm5]
public void Play() {
FmodManaged.FSOUND.Function.Initialization.FSOUND_Init(44100, 32, 0);

this.soundHandle = FmodManaged.FSOUND.Function.Stream.FSOUND_Stream_Open(this.currentSoundTrack, FmodManaged.FSOUND.Enums.FSOUND_MODES.FSOUND_NORMAL, 0, 0);

        FmodManaged.FSOUND.Function.Stream.FSOUND_Stream_Play(6, this.soundHandle);
        FmodManaged.FSOUND.Function.Stream.FSOUND_Stream_Stop(this.soundHandle);

FmodManaged.FSOUND.Function.Initialization.FSOUND_Close();
}
[/code:3e4lcmm5]

  • You must to post comments
0
0

Link is dead…

  • You must to post comments
0
0

Hello Goldfix,

After several days of happily using your wrappers I have encountered a problem with creating and turning on a DSP unit.
Actually all works well in the “FSOUND_DSP_Create” function but the actual activation of the DSP unit in the “FSOUND_DSP_SetActive” function causes fmod.dll to crash.

—– code snippet ——

dspCallBack = new FSOUND_DSPCALLBACK(DspCallbackHandler);

FmodManaged.FSOUND.Function.Initialization.FSOUND_SetMixer(FmodManaged.FSOUND.Enums.FSOUND_MIXERTYPES.FSOUND_MIXER_QUALITY _AUTODETECT);

FmodManaged.FSOUND.Function.Initialization.FSOUND_Init(44100, 32, 0);

ptr1 = FmodManaged.FSOUND.Function.DSP.FSOUND_DSP_Create(dspCallBack.Method.MethodHandle.GetFunctionPointer(), FmodManaged.FSOUND.Enums.FSOUND_DSP_PRIORITIES.FSOUND_DSP_DEFAULTPRIORITY_USER, IntPtr.Zero);

FmodManaged.FSOUND.Function.DSP.FSOUND_DSP_SetActive(ptr1, true); // Causes fmod.dll to crash.

—– code snippet ——

With kind regards,

Xipetotec

  • You must to post comments
Showing 1 - 20 of 24 results
Your Answer

Please first to submit.