You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. PortAudio.Pa_Initialize();
2. PortAudio.PaDeviceInfo paDeviceInfo = PortAudio.Pa_GetDeviceInfo(0);
What is the expected output? What do you see instead?
IntPtr structptr = IntPtr_Pa_GetDeviceInfo(device);
This line produces a PInvokeStackImbalance warning. From what I found on the
internet, it seems to occur when there's a mismatch between the parameters
passed through the stack.
What version of the product are you using? On what operating system?
Visual C# 2010 Express - .NET4 Client - Windows Seven
Please provide any additional information below.
Original issue reported on code.google.com by michael....@gmail.com on 17 Oct 2011 at 7:00
The text was updated successfully, but these errors were encountered:
Issue solved by adding the default calling convention of C/C++ compiled
programs :
[DllImport("PortAudio.dll", EntryPoint = "Pa_GetDeviceInfo", CallingConvention
= CallingConvention.Cdecl)]
I hope that's all ;)
Original comment by michael....@gmail.com on 17 Oct 2011 at 8:00
Original issue reported on code.google.com by
michael....@gmail.com
on 17 Oct 2011 at 7:00The text was updated successfully, but these errors were encountered: